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: on:
push: push:
branches: [ main ] branches: [ main ]
pull_request: pull_request:
branches: [ main ] branches: [ main ]
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