mirror of
https://github.com/Pakobbix/StartUI-oobabooga-webui
synced 2025-11-09 15:39:39 +00:00
Compare commits
4 Commits
b2f2a894c9
...
1ffd11eb5b
| Author | SHA1 | Date | |
|---|---|---|---|
| 1ffd11eb5b | |||
| 311cbfed75 | |||
| 646b7419a5 | |||
| 0fb9a42cc6 |
15
.github/workflows/package.yml
vendored
15
.github/workflows/package.yml
vendored
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user