Skip to content

Commit

Permalink
Fix MacOS runners (#94)
Browse files Browse the repository at this point in the history
  • Loading branch information
scaramallion authored Jun 17, 2024
1 parent 87d9ee5 commit 3ce4e9b
Showing 1 changed file with 14 additions and 13 deletions.
27 changes: 14 additions & 13 deletions .github/workflows/release-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,20 +114,20 @@ jobs:
python: 312
platform_id: manylinux_aarch64

# MacOS x86_64
- os: macos-latest
# MacOS 12 x86_64
- os: macos-12
python: 38
platform_id: macosx_x86_64
- os: macos-latest
- os: macos-12
python: 39
platform_id: macosx_x86_64
- os: macos-latest
- os: macos-12
python: 310
platform_id: macosx_x86_64
- os: macos-latest
- os: macos-12
python: 311
platform_id: macosx_x86_64
- os: macos-latest
- os: macos-12
python: 312
platform_id: macosx_x86_64

Expand Down Expand Up @@ -178,19 +178,20 @@ jobs:
fail-fast: false
matrix:
include:
- os: macos-latest
# MacOS 14 arm64
- os: macos-14
python: 38
platform_id: macosx_arm64
- os: macos-latest
- os: macos-14
python: 39
platform_id: macosx_arm64
- os: macos-latest
- os: macos-14
python: 310
platform_id: macosx_arm64
- os: macos-latest
- os: macos-14
python: 311
platform_id: macosx_arm64
- os: macos-latest
- os: macos-14
python: 312
platform_id: macosx_arm64

Expand Down Expand Up @@ -219,8 +220,8 @@ jobs:
# Update the wheel with the correct tag then remove the incorrect wheel
- name: Fix poetry mistagging
run: |
wheel tags --platform-tag macosx_12_0_arm64 ./dist/*-macosx_12_0_x86_64.whl
rm ./dist/*-macosx_12_0_x86_64.whl
wheel tags --platform-tag macosx_12_0_arm64 ./dist/*-macosx_14_0_x86_64.whl
rm ./dist/*-macosx_14_0_x86_64.whl
- name: Store artifacts
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 3ce4e9b

Please sign in to comment.