diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 6d014ca..0eba0f1 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -40,9 +40,14 @@ jobs: with: submodules: "true" + - uses: actions/setup-python@v5 + if: runner.os != 'macOS' || runner.arch != 'ARM64' + + # See: https://cibuildwheel.pypa.io/en/stable/faq/#macos-building-cpython-38-wheels-on-arm64 - uses: actions/setup-python@v5 with: python-version: 3.8 + if: runner.os == 'macOS' && runner.arch == 'ARM64' - name: Install cibuildwheel run: python -m pip install cibuildwheel==2.15.0