mirror of
https://github.com/Pakobbix/StartUI-oobabooga-webui
synced 2025-11-09 18:39:40 +00:00
Update package.yml
Windows Only Test
This commit is contained in:
parent
0d116360dd
commit
6673c43932
14
.github/workflows/package.yml
vendored
14
.github/workflows/package.yml
vendored
@ -6,10 +6,7 @@ on:
|
||||
|
||||
jobs:
|
||||
package:
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest, windows-latest, macos-latest]
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v2
|
||||
@ -26,14 +23,7 @@ jobs:
|
||||
pip install pyinstaller
|
||||
|
||||
- name: Build and package
|
||||
run: |
|
||||
if [ ${{ matrix.os }} == 'ubuntu-latest' ]; then
|
||||
pyinstaller --noconfirm --onefile --windowed StartUI.py
|
||||
elif [ ${{ matrix.os }} == 'windows-latest' ]; then
|
||||
pyinstaller --noconfirm --onefile --windowed StartUI.py
|
||||
elif [ ${{ matrix.os }} == 'macos-latest' ]; then
|
||||
pyinstaller --noconfirm --onefile --windowed StartUI.py
|
||||
fi
|
||||
run: pyinstaller --noconfirm --onefile --windowed StartUI.py
|
||||
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v2
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user