From a712fbddfaefe448272f2cdf82fc1159c8900d30 Mon Sep 17 00:00:00 2001 From: pantor Date: Mon, 8 Jan 2024 17:09:54 +0100 Subject: [PATCH] cd specify archs --- .github/workflows/cd.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 35909eff..76dbf63a 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -19,6 +19,8 @@ jobs: - name: Build wheels uses: pypa/cibuildwheel@v2.16.2 env: + CIBW_ARCHS_LINUX: auto + CIBW_ARCHS_MACOS: x86_64 arm64 CIBW_BEFORE_ALL: | git clone https://github.com/pybind/pybind11.git cd pybind11 @@ -45,8 +47,8 @@ jobs: path: dist/*.tar.gz - upload_all: - if: ${{ false }} + upload: + # if: ${{ false }} needs: [build-wheels, make-source-dist] runs-on: ubuntu-latest @@ -56,4 +58,5 @@ jobs: name: artifact path: dist - - uses: pypa/gh-action-pypi-publish@release/v1 + - name: Upload to PyPI + uses: pypa/gh-action-pypi-publish@release/v1