diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml index cff0cbf..ccfcd8a 100644 --- a/.github/workflows/build_wheels.yml +++ b/.github/workflows/build_wheels.yml @@ -1,6 +1,11 @@ name: Build -on: [push, pull_request] +on: + push: + pull_request: + release: + types: + - published env: CIBW_ARCHS_MACOS: x86_64 arm64 @@ -45,4 +50,4 @@ jobs: path: dist - uses: pypa/gh-action-pypi-publish@v1.5.0 with: - password: ${{ secrets.PYPI_API_TOKEN }} + password: ${{ secrets.PYPI_API_TOKEN }}