mirror of
https://github.com/Pakobbix/StartUI-oobabooga-webui
synced 2025-11-09 21:49:39 +00:00
Compare commits
No commits in common. "1ffd11eb5bc60ebb1bdd3cf6eb7856bdae6393c6" and "b2f2a894c97834081fbdec63afe93f62b1a20b66" have entirely different histories.
1ffd11eb5b
...
b2f2a894c9
15
.github/workflows/package.yml
vendored
15
.github/workflows/package.yml
vendored
@ -20,11 +20,6 @@ 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
|
||||
@ -32,16 +27,8 @@ 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: |
|
||||
if [ "$RUNNER_OS" == "Windows" ]; then
|
||||
deactivate.bat
|
||||
else
|
||||
deactivate
|
||||
fi
|
||||
rm -rf StartUI_env
|
||||
pyinstaller --noconfirm --onefile --windowed StartUI.py --add-data "webuiGUI.py:."
|
||||
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user