Update package.yml

Windows Only Test
This commit is contained in:
2023-05-13 14:58:22 +02:00
committed by GitHub
parent 0d116360dd
commit 6673c43932

View File

@@ -6,10 +6,7 @@ on:
jobs: jobs:
package: package:
runs-on: ${{ matrix.os }} runs-on: windows-latest
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps: steps:
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v2 uses: actions/setup-python@v2
@@ -26,14 +23,7 @@ jobs:
pip install pyinstaller pip install pyinstaller
- name: Build and package - name: Build and package
run: | run: pyinstaller --noconfirm --onefile --windowed StartUI.py
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
- name: Upload artifacts - name: Upload artifacts
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2