From 199537bb02177ff935ccdefa2b44615214024a0f Mon Sep 17 00:00:00 2001 From: Denis Otkidach Date: Sun, 30 Jun 2024 19:03:37 +0300 Subject: [PATCH] Fix building/testing wheels for mac (#1022) --- .github/workflows/publish.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 880a34d2..ee959e26 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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: @@ -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 @@ -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 }}