diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2242f83..3c4af50 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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/*