Skip to content

Commit

Permalink
cd specify archs
Browse files Browse the repository at this point in the history
  • Loading branch information
pantor committed Jan 8, 2024
1 parent 7939855 commit a712fbd
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ jobs:
- name: Build wheels
uses: pypa/[email protected]
env:
CIBW_ARCHS_LINUX: auto
CIBW_ARCHS_MACOS: x86_64 arm64
CIBW_BEFORE_ALL: |
git clone https://github.com/pybind/pybind11.git
cd pybind11
Expand All @@ -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

Expand All @@ -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

0 comments on commit a712fbd

Please sign in to comment.