mirror of
https://github.com/Pakobbix/StartUI-oobabooga-webui
synced 2025-11-09 15:39:39 +00:00
Compare commits
6 Commits
1ffd11eb5b
...
a07146e879
| Author | SHA1 | Date | |
|---|---|---|---|
| a07146e879 | |||
| 807dad51dd | |||
| 395c347020 | |||
| a75a8f42bc | |||
| 24e5876eff | |||
| c87e12d75a |
19
.github/workflows/package.yml
vendored
19
.github/workflows/package.yml
vendored
@ -21,28 +21,19 @@ jobs:
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Create and activate venv
|
||||
run: |
|
||||
python -m venv StartUI_env
|
||||
source StartUI_env/bin/activate
|
||||
|
||||
run: python -m venv StartUI_env
|
||||
|
||||
- name: Upgrade Pip
|
||||
run: python -m pip install --upgrade pip
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install -r requirements.txt
|
||||
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
|
||||
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user