mirror of
https://github.com/Pakobbix/StartUI-oobabooga-webui
synced 2025-11-09 18:39:40 +00:00
trying venv to hopefully decrease the binary size
This commit is contained in:
parent
0fb9a42cc6
commit
646b7419a5
10
.github/workflows/package.yml
vendored
10
.github/workflows/package.yml
vendored
@ -20,6 +20,11 @@ jobs:
|
|||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Create and activate venv
|
||||||
|
run: |
|
||||||
|
python -m venv StartUI_env
|
||||||
|
source StartUI_env/bin/activate
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
@ -29,6 +34,11 @@ jobs:
|
|||||||
- 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: |
|
||||||
|
deactivate
|
||||||
|
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