Small GitHub Actions fix for the Nutika binary no longer being named 'nuitka3'

This commit is contained in:
Campbell 2024-07-21 19:28:13 -04:00
parent 7f788ae36c
commit bf09f3b18e
Signed by: NinjaCheetah
GPG Key ID: B547958AF96ED344
2 changed files with 6 additions and 6 deletions

View File

@ -32,7 +32,7 @@ jobs:
- name: Build Package - name: Build Package
run: | run: |
pyside6-project build pyside6-project build
nuitka3 --show-progress --include-data-dir=data=data --include-data-dir=resources=resources --assume-yes-for-downloads --onefile --plugin-enable=pyside6 NUSGet.py python -m nuitka --show-progress --include-data-dir=data=data --include-data-dir=resources=resources --assume-yes-for-downloads --onefile --plugin-enable=pyside6 NUSGet.py
- name: Prepare Package for Upload - name: Prepare Package for Upload
run: | run: |
mv NUSGet.bin ~/NUSGet mv NUSGet.bin ~/NUSGet
@ -61,7 +61,7 @@ jobs:
- name: Build Package - name: Build Package
run: | run: |
pyside6-project build pyside6-project build
nuitka3 --show-progress --include-data-dir=data=data --include-data-dir=resources=resources --assume-yes-for-downloads --standalone --plugin-enable=pyside6 NUSGet.py --macos-create-app-bundle --macos-app-icon=resources/icon.png python -m nuitka --show-progress --include-data-dir=data=data --include-data-dir=resources=resources --assume-yes-for-downloads --standalone --plugin-enable=pyside6 NUSGet.py --macos-create-app-bundle --macos-app-icon=resources/icon.png
- name: Prepare Package for Upload - name: Prepare Package for Upload
run: | run: |
mv NUSGet.app ~/NUSGet.app mv NUSGet.app ~/NUSGet.app
@ -92,7 +92,7 @@ jobs:
- name: Build Package - name: Build Package
run: | run: |
pyside6-project build pyside6-project build
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 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 - name: Upload Package
uses: actions/upload-artifact@v4.3.0 uses: actions/upload-artifact@v4.3.0
with: with:

View File

@ -39,17 +39,17 @@ Then, use the command for your platform to build an executable with Nuitka:
**Windows** **Windows**
``` ```
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 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
``` ```
**Linux** **Linux**
``` ```
nuitka3 --show-progress --include-data-dir=data=data --include-data-dir=resources=resources --assume-yes-for-downloads --onefile --plugin-enable=pyside6 NUSGet.py python -m nuitka --show-progress --include-data-dir=data=data --include-data-dir=resources=resources --assume-yes-for-downloads --onefile --plugin-enable=pyside6 NUSGet.py
``` ```
**macOS** **macOS**
``` ```
nuitka3 --show-progress --include-data-dir=data=data --include-data-dir=resources=resources --assume-yes-for-downloads --onefile --plugin-enable=pyside6 NUSGet.py --macos-create-app-bundle --macos-app-icon=resources/icon.png python -m nuitka --show-progress --include-data-dir=data=data --include-data-dir=resources=resources --assume-yes-for-downloads --onefile --plugin-enable=pyside6 NUSGet.py --macos-create-app-bundle --macos-app-icon=resources/icon.png
``` ```
The result will be a single binary named `NUSGet` that contains everything required to run NUSGet. No dependencies are needed on the target system. The result will be a single binary named `NUSGet` that contains everything required to run NUSGet. No dependencies are needed on the target system.