From d8b602223f7889a9a24155b618e5bf2bb95a0955 Mon Sep 17 00:00:00 2001 From: Jacob Hummer Date: Sat, 27 Jul 2024 13:36:19 -0500 Subject: [PATCH] Update pyinstaller.yml --- .github/workflows/pyinstaller.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/pyinstaller.yml b/.github/workflows/pyinstaller.yml index 417b78d224..ab4ae7b9a4 100644 --- a/.github/workflows/pyinstaller.yml +++ b/.github/workflows/pyinstaller.yml @@ -34,7 +34,12 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-20.04, macos-13, macos-latest, windows-latest] + include: + # https://packaging.python.org/en/latest/specifications/platform-compatibility-tags/#platform-tag + # target=$(python -c 'import sysconfig; print(sysconfig.get_platform().replace("-", "_"))') + - { os: ubuntu-latest, target: linux_x86_64 } + - { os: macos-latest, target: macosx_10.9_universal2 } + - { os: windows-latest, target: win_amd64 } defaults: run: shell: bash @@ -52,12 +57,7 @@ jobs: - run: pip install pyinstaller - run: bikeshed update - run: pyinstaller -y --collect-all=bikeshed --name=bikeshed ./bikeshed.py - # https://packaging.python.org/en/latest/specifications/platform-compatibility-tags/#platform-tag - - id: get-target - run: | - target=$(python -c 'import sysconfig; print(sysconfig.get_platform().replace("-", "_"))') - echo "target=$target" >> "$GITHUB_OUTPUT" - uses: actions/upload-artifact@v4 with: - name: bikeshed-${{ steps.get-target.outputs.target }} + name: bikeshed-${{ matrix.target }} path: dist/bikeshed