Update build.yml
This commit is contained in:
1 parent
2f0f474997
commit
64b1bf4cb5
1 file changed
+11
-12
+11
-12
@@ -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/*
|
||||
Reference in new issue
Block a user