mirror of
https://github.com/Pakobbix/StartUI-oobabooga-webui
synced 2025-11-09 21:49:39 +00:00
Compare commits
No commits in common. "a07146e8795f7307068c28d7dc7ed81b2c73a480" and "1ffd11eb5bc60ebb1bdd3cf6eb7856bdae6393c6" have entirely different histories.
a07146e879
...
1ffd11eb5b
19
.github/workflows/package.yml
vendored
19
.github/workflows/package.yml
vendored
@ -21,19 +21,28 @@ jobs:
|
|||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Create and activate venv
|
- name: Create and activate venv
|
||||||
run: python -m venv StartUI_env
|
run: |
|
||||||
|
python -m venv StartUI_env
|
||||||
- name: Upgrade Pip
|
source StartUI_env/bin/activate
|
||||||
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:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user