Update build.yml

This commit is contained in:
Prayag Prajapati authored and GitHub committed 2022-04-14 14:24:42 +05:30
1 parent 2f0f474997
commit 64b1bf4cb5
1 file changed
+11 -12
+11 -12
View File
@@ -1,26 +1,25 @@
name: Package Application with Pyinstaller
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: ['windows-latest', 'ubuntu-latest', 'macos-latest']
steps:
- uses: actions/checkout@v2
- name: JellyPlayer
uses: JackMcKew/pyinstaller-action-windows@main
- uses: actions/setup-python@v2
with:
path: ./
python-version: 3.9
- run: pip install -r requirements.txt pyinstaller
- run: pyinstaller main.py
- uses: actions/upload-artifact@v2
with:
name: JellyPlayer
path: src/dist/windows
path: dist/*