6 Commits

Author SHA1 Message Date
Pakobbix a07146e879 deleted venv
Package Release / package (ubuntu-latest) (push) Has been cancelled
Package Release / package (windows-latest) (push) Has been cancelled
2023-05-27 13:21:57 +02:00
Pakobbix 807dad51dd too tired to get it in one go 2023-05-27 11:12:04 +02:00
Pakobbix 395c347020 mistake fixing 2023-05-27 11:11:16 +02:00
Pakobbix a75a8f42bc still trying to use venv for packaging p2 2023-05-27 11:10:35 +02:00
Pakobbix 24e5876eff removed venv deletion for now. 2023-05-27 09:26:37 +02:00
Pakobbix c87e12d75a still trying to use venv for packaging p1 2023-05-27 09:08:07 +02:00
+5 -14
View File
@@ -21,28 +21,19 @@ jobs:
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Create and activate venv - name: Create and activate venv
run: | run: python -m venv StartUI_env
python -m venv StartUI_env
source StartUI_env/bin/activate - name: Upgrade Pip
run: python -m pip install --upgrade pip
- name: Install dependencies - name: Install dependencies
run: | run: |
python -m pip install --upgrade pip
pip install -r requirements.txt pip install -r requirements.txt
pip install pyinstaller pip install pyinstaller
- name: Build and package - name: Build and package
run: pyinstaller --noconfirm --onefile --windowed StartUI.py --add-data="webuiGUI.py:." run: pyinstaller --noconfirm --onefile --windowed StartUI.py --add-data="webuiGUI.py:."
- name: Leave venv and delete
run: |
if [ "$RUNNER_OS" == "Windows" ]; then
deactivate.bat
else
deactivate
fi
rm -rf StartUI_env
- name: Upload artifacts - name: Upload artifacts
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with: