diff --git a/examples/github-minimal.yml b/examples/github-minimal.yml index dde844e3..5e7f6b3b 100644 --- a/examples/github-minimal.yml +++ b/examples/github-minimal.yml @@ -37,6 +37,7 @@ jobs: path: ./wheelhouse - name: Publish to PyPI + if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags') uses: pypa/gh-action-pypi-publish@master #see https://github.com/pypa/gh-action-pypi-publish for setup with: user: __token__