mirror of
https://github.com/Pakobbix/StartUI-oobabooga-webui
synced 2025-11-09 15:39:39 +00:00
switching to nuitka, fix removing build folders
This commit is contained in:
parent
a32aff730e
commit
a8f033ac5b
16
.github/workflows/package.yml
vendored
16
.github/workflows/package.yml
vendored
@ -23,10 +23,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
|
||||
@ -58,9 +64,9 @@ jobs:
|
||||
|
||||
- name: remove build folders
|
||||
run: |
|
||||
rm -rf ./dist/StartUI.build
|
||||
rm -rf ./dist/StartUI.dist
|
||||
rm -rf ./dist/StartUI.onefile-build
|
||||
Remove-Item -Recurse -Force ./dist/StartUI.build
|
||||
Remove-Item -Recurse -Force ./dist/StartUI.dist
|
||||
Remove-Item -Recurse -Force ./dist/StartUI.onefile-build
|
||||
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user