From 0cd44016f55a097a9ce66b515e024ac757fe4b3d Mon Sep 17 00:00:00 2001 From: Pakobbix Date: Sat, 27 May 2023 15:09:44 +0200 Subject: [PATCH] trying out nuitka on github actions --- .github/workflows/package.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index b453ad8..20fc5bd 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -51,10 +51,16 @@ jobs: - name: Install dependencies run: | pip install -r requirements.txt - pip install pyinstaller + pip install nuitka - name: Build and package - run: pyinstaller --noconfirm --onefile --windowed StartUI.py --add-data="webuiGUI.py;." + run: nuitka StartUI.py --onefile --enable-plugin=pyqt5 --product-version=1.6.0 --disable-console --include-data-files=webuiGUI.py=webuiGUI.py --output-dir=./dist --noinclude-pytest-mode=nofollow --noinclude-setuptools-mode=nofollow + + - name: remove build folders + run: | + rm -rf ./dist/StartUI.build + rm -rf ./dist/StartUI.dist + rm -rf ./dist/StartUI.onefile-build - name: Upload artifacts uses: actions/upload-artifact@v3