From ffac804ada93c5204ee56e7989725ca6f534f5ab Mon Sep 17 00:00:00 2001 From: NinjaCheetah <58050615+NinjaCheetah@users.noreply.github.com> Date: Wed, 6 Nov 2024 22:59:26 -0500 Subject: [PATCH] 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. --- .github/workflows/python-build.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/python-build.yml b/.github/workflows/python-build.yml index 15b8f71..9817d24 100644 --- a/.github/workflows/python-build.yml +++ b/.github/workflows/python-build.yml @@ -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