Skip to content

Commit

Permalink
Update pyinstaller.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jcbhmr authored Jul 27, 2024
1 parent 8e62da7 commit bfebfe9
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/pyinstaller.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,7 @@ jobs:
strategy:
fail-fast: false
matrix:
include:
# https://packaging.python.org/en/latest/specifications/platform-compatibility-tags/#platform-tag
# https://pypi.org/project/pyinstaller/#files
- { os: ubuntu-20.04, target: manylinux2014_x86_64 }
- { os: macos-13, target: macosx_10_13_universal2 }
- { os: windows-latest, target: win_amd64 }
os: [ubuntu-20.04, macos-13, macos-latest, windows-latest]
defaults:
run:
shell: bash
Expand All @@ -57,7 +52,12 @@ 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-${{ matrix.target }}
name: bikeshed-${{ steps.get-target.outputs.target }}
path: dist/bikeshed

0 comments on commit bfebfe9

Please sign in to comment.