Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions .github/workflows/offline-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Offline Build

on:
push:
branches: [ "release" ]
pull_request: #TODO remove, included to test this workflow
branches: [ "Dev" ]

jobs:
build_windows:
name: Offline Build - ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ windows-latest, macos-latest, ubuntu-latest ]
steps:
- uses: actions/checkout@v5
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: 3.x
- name: Build Offline Release
run: |
python SettingsToJson.py
mkdir GUI/python
cp *.py GUI/python
cd GUI
mv package_release.json package.json
npm i
npm run ng-prod
npm run dist
shell: bash
9 changes: 8 additions & 1 deletion GUI/package_release.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,14 @@
"executableName": "oot-randomizer-gui"
},
"mac": {
"target": "dmg",
"target": [
{
"target": "dmg",
"arch": [
"universal"
]
}
],
"category": "public.app-category.utilities"
}
},
Expand Down