mirror of
https://github.com/Pakobbix/StartUI-oobabooga-webui
synced 2025-11-09 18:39:40 +00:00
Merge branch 'main' of https://github.com/Pakobbix/StartUI-oobabooga-webui
This commit is contained in:
commit
85666d3cc2
36
.github/workflows/package.yml
vendored
Normal file
36
.github/workflows/package.yml
vendored
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
name: Package Release
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
package:
|
||||||
|
runs-on: ${{ matrix.os }}
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
os: [windows-latest, ubuntu-latest, macos-latest]
|
||||||
|
steps:
|
||||||
|
- name: Set up Python
|
||||||
|
uses: actions/setup-python@v2
|
||||||
|
with:
|
||||||
|
python-version: 3.x
|
||||||
|
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- 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
|
||||||
|
|
||||||
|
- name: Upload artifacts
|
||||||
|
uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: ${{ matrix.os }}-binary
|
||||||
|
path: dist # Assuming the packaged files are created in a 'dist' directory
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user