Skip to content

Commit

Permalink
Bump versions in GitHub workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
charliermarsh committed Dec 14, 2023
1 parent ab46388 commit af5eb6f
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: ${{ env.FETCH_DEPTH }}
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: "3.x"
- name: Generate Build ID (release)
Expand Down Expand Up @@ -62,10 +62,10 @@ jobs:
target: arm-unknown-linux-gnueabihf
code-target: linux-armhf
arch: armv7
- os: macos-11
- os: macos-latest-xlarge
target: x86_64-apple-darwin
code-target: darwin-x64
- os: macos-11
- os: macos-latest-xlarge
target: aarch64-apple-darwin
code-target: darwin-arm64

Expand All @@ -81,11 +81,19 @@ jobs:
fetch-depth: ${{ env.FETCH_DEPTH }}

# Install Python dependencies (including Ruff's native binary).
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: "3.x"

- run: python -m pip install -t ./bundled/libs --implementation py --no-deps --upgrade -r ./requirements.txt
if: ${{ !startsWith(matrix.os, 'ubuntu') || startsWith(matrix.target, 'x86_64') }}
if: ${{ !startsWith(matrix.os, 'macos') && (!startsWith(matrix.os, 'ubuntu') || startsWith(matrix.target, 'x86_64')) }}

- run: arch -arm64 python -m pip install -t ./bundled/libs --implementation py --no-deps --upgrade -r ./requirements.txt
if: ${{ startsWith(matrix.os, 'macos') && startsWith(matrix.target, 'aarch64') }}

- run: arch -x86_64 python -m pip install -t ./bundled/libs --implementation py --no-deps --upgrade -r ./requirements.txt
if: ${{ startsWith(matrix.os, 'macos') && startsWith(matrix.target, 'x86_64') }}

- uses: uraimo/run-on-arch-action@v2
if: ${{ startsWith(matrix.os, 'ubuntu') && !startsWith(matrix.target, 'x86_64') }}
with:
Expand Down

0 comments on commit af5eb6f

Please sign in to comment.