Update python-build.yml

Now uploads non-onefile build for Windows, since on Windows the "folder with executable and dependencies" distribution strategy is pretty typical and wouldn't have the speed penalty of self-extraction that the onefile has.
This commit is contained in:
Campbell 2024-11-06 22:59:26 -05:00 committed by GitHub
parent 74acfff007
commit ffac804ada
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -38,7 +38,7 @@ jobs:
cd ~
tar cvf NUSGet.tar NUSGet
- name: Upload Package
uses: actions/upload-artifact@v4.3.0
uses: actions/upload-artifact@v4
with:
path: ~/NUSGet.tar
name: NUSGet-linux-bin
@ -67,7 +67,7 @@ jobs:
cd ~
tar cvf NUSGet.tar NUSGet.app
- name: Upload Package
uses: actions/upload-artifact@v4.3.0
uses: actions/upload-artifact@v4
with:
path: ~/NUSGet.tar
name: NUSGet-macos-bin
@ -93,8 +93,13 @@ jobs:
python build_translations.py
python -m nuitka --show-progress --include-data-dir=data=data --include-data-dir=resources=resources --assume-yes-for-downloads --onefile --windows-icon-from-ico=resources/icon.png --plugin-enable=pyside6 NUSGet.py --windows-console-mode=disable
- name: Upload Package
uses: actions/upload-artifact@v4.3.0
uses: actions/upload-artifact@v4
with:
path: D:\a\NUSGet\NUSGet\NUSGet.dist
name: NUSGet-windows-bin
- name: Upload Onefile Package
uses: actions/upload-artifact@v4
with:
path: D:\a\NUSGet\NUSGet\NUSGet.exe
name: NUSGet-windows-bin
name: NUSGet-windows-onefile-bin