Skip to content

Commit

Permalink
.github/workflows/package_and_publish.yml: set macOS deployment target
Browse files Browse the repository at this point in the history
  • Loading branch information
fhs committed Jan 5, 2025
1 parent 71a6524 commit baeff65
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/package_and_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ jobs:
echo 'LIBRARY_DIRS=/opt/homebrew/opt/jpeg/lib' >> $GITHUB_ENV
echo 'INCLUDE_DIRS=/opt/homebrew/opt/jpeg/include' >> $GITHUB_ENV
# See https://github.com/pypa/cibuildwheel/issues/563#issuecomment-2257729524
- name: Set macOS deployment target
run: echo "MACOSX_DEPLOYMENT_TARGET=$(sw_vers -productVersion | cut -d '.' -f 1-2)" >> $GITHUB_ENV

- name: Install cibuildwheel
run: |
python -m pip install cibuildwheel==2.22.0
Expand Down

0 comments on commit baeff65

Please sign in to comment.