Compare commits

...

4 Commits

Author SHA1 Message Date
1ffd11eb5b copy & paste error
Some checks reported warnings
Package Release / package (ubuntu-latest) (push) Has been cancelled
Package Release / package (windows-latest) (push) Has been cancelled
2023-05-27 08:21:56 +02:00
311cbfed75 fixing the leave venv 2023-05-27 08:20:29 +02:00
646b7419a5 trying venv to hopefully decrease the binary size 2023-05-27 08:12:41 +02:00
0fb9a42cc6
Update package.yml 2023-05-27 09:45:12 +02:00

View File

@ -20,6 +20,11 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3
- name: Create and activate venv
run: |
python -m venv StartUI_env
source StartUI_env/bin/activate
- name: Install dependencies
run: |
python -m pip install --upgrade pip
@ -27,8 +32,16 @@ jobs:
pip install pyinstaller
- name: Build and package
run: pyinstaller --noconfirm --onefile --windowed StartUI.py --add-data="webuiGUI.py:."
- name: Leave venv and delete
run: |
pyinstaller --noconfirm --onefile --windowed StartUI.py --add-data "webuiGUI.py:."
if [ "$RUNNER_OS" == "Windows" ]; then
deactivate.bat
else
deactivate
fi
rm -rf StartUI_env
- name: Upload artifacts
uses: actions/upload-artifact@v3