Skip to content

Commit

Permalink
Fix building/testing wheels for mac (#1022)
Browse files Browse the repository at this point in the history
  • Loading branch information
ods authored Jun 30, 2024
1 parent d0c4130 commit 199537b
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ jobs:
strategy:
fail-fast: false
matrix:
# Available runner images:
# https://github.com/actions/runner-images#available-images
os: [ubuntu-latest, macos-latest, windows-latest]
arch: [auto]
include:
Expand Down Expand Up @@ -122,15 +124,15 @@ jobs:
python: ["3.8", "3.9", "3.10", "3.11", "3.12"]
include:
- python: "3.8"
aiokafka_whl: dist/aiokafka-*-cp38-cp38-macosx_*_x86_64.whl
aiokafka_whl: dist/aiokafka-*-cp38-cp38-macosx_*_arm64.whl
- python: "3.9"
aiokafka_whl: dist/aiokafka-*-cp39-cp39-macosx_*_x86_64.whl
aiokafka_whl: dist/aiokafka-*-cp39-cp39-macosx_*_arm64.whl
- python: "3.10"
aiokafka_whl: dist/aiokafka-*-cp310-cp310-macosx_*_x86_64.whl
aiokafka_whl: dist/aiokafka-*-cp310-cp310-macosx_*_arm64.whl
- python: "3.11"
aiokafka_whl: dist/aiokafka-*-cp311-cp311-macosx_*_x86_64.whl
aiokafka_whl: dist/aiokafka-*-cp311-cp311-macosx_*_arm64.whl
- python: "3.12"
aiokafka_whl: dist/aiokafka-*-cp312-cp312-macosx_*_x86_64.whl
aiokafka_whl: dist/aiokafka-*-cp312-cp312-macosx_*_arm64.whl

steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -263,7 +265,7 @@ jobs:
name: dist
path: dist/
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@master
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: ${{ secrets.PYPI_USERNAME }}
password: ${{ secrets.PYPI_PASSWORD }}

0 comments on commit 199537b

Please sign in to comment.