diff --git a/.github/workflows/release-python.yml b/.github/workflows/release-python.yml index b21ca6415d..1bf2160df2 100644 --- a/.github/workflows/release-python.yml +++ b/.github/workflows/release-python.yml @@ -38,7 +38,7 @@ jobs: - [windows-2019, win32] python: ["cp37", "cp38", "cp39", "cp310", "cp311", "cp312"] include: - - buildplat: [macos-11, macosx_x86_64] + - buildplat: [macos-11, macosx_*] python: "cp37" - buildplat: [macos-11, macosx_*] python: "cp38" @@ -207,7 +207,7 @@ jobs: - name: Download all the dists uses: actions/download-artifact@v4 with: - name: all-dist-${{ github.head_ref || github.ref_name }} + name: all-dist-${{ github.job }} path: dist/ - name: Publish distribution 📦 to PyPI uses: pypa/gh-action-pypi-publish@release/v1 diff --git a/pyproject.toml b/pyproject.toml index d47751ef4a..dee4c0cdf3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -236,3 +236,6 @@ test-command = "python {project}/tools/fail_if_no_c.py" [tool.cibuildwheel.linux] archs = "x86_64 aarch64 ppc64le s390x i686" + +[tool.cibuildwheel.macos] +archs = "x86_64 arm64"