Skip to content

Commit

Permalink
fix(macos): define deployment target
Browse files Browse the repository at this point in the history
  • Loading branch information
nijel authored and sirfz committed Feb 12, 2025
1 parent e6df3cf commit 175a453
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Set macOS deployment target
if: runner.os == 'macOS'
run: echo "MACOSX_DEPLOYMENT_TARGET=$(sw_vers -productVersion | cut -d '.' -f 1-2)" | tee -a $GITHUB_ENV

- name: Build wheel
uses: pypa/cibuildwheel@v2.22.0
env:
Expand Down

0 comments on commit 175a453

Please sign in to comment.