Skip to content

Commit

Permalink
Merge pull request #107 from ssciwr/ci
Browse files Browse the repository at this point in the history
Fix ci: also do pypi deployment on tagged commits
  • Loading branch information
lkeegan authored Jun 21, 2024
2 parents e7bf3a2 + bda0b88 commit ca3db44
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ jobs:
if: runner.os == 'Linux' && matrix.emulation == 'qemu'

- name: Build wheels
uses: pypa/cibuildwheel@v2.18
uses: pypa/cibuildwheel@v2.19
env:
CIBW_ARCHS: "${{ matrix.arch }}"
# restrict to a single Python version as wheel does not depend on Python:
Expand Down Expand Up @@ -178,7 +178,7 @@ jobs:

- name: Upload to PyPI
uses: pypa/gh-action-pypi-publish@v1.8.14
if: github.event.inputs.deploy_to_testpypi == 'false'
if: (startsWith(github.event.ref, 'refs/tags/')) || (github.event.inputs.deploy_to_testpypi == 'false')

- name: Upload to TestPyPI
uses: pypa/gh-action-pypi-publish@v1.8.14
Expand Down

0 comments on commit ca3db44

Please sign in to comment.