Update build.yml
This commit is contained in:
1 parent
2f0f474997
commit
64b1bf4cb5
1 file changed
+10
-11
+10
-11
@@ -1,6 +1,3 @@
|
|||||||
|
|
||||||
name: Package Application with Pyinstaller
|
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ main ]
|
branches: [ main ]
|
||||||
@@ -9,18 +6,20 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
runs-on: ${{ matrix.os }}
|
||||||
runs-on: ubuntu-latest
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
os: ['windows-latest', 'ubuntu-latest', 'macos-latest']
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
- uses: actions/setup-python@v2
|
||||||
- name: JellyPlayer
|
|
||||||
uses: JackMcKew/pyinstaller-action-windows@main
|
|
||||||
with:
|
with:
|
||||||
path: ./
|
python-version: 3.9
|
||||||
|
|
||||||
|
- run: pip install -r requirements.txt pyinstaller
|
||||||
|
- run: pyinstaller main.py
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: JellyPlayer
|
path: dist/*
|
||||||
path: src/dist/windows
|
|
||||||
Reference in new issue
Block a user