only publish to pytest for tagged branch
@@ -91,6 +91,7 @@ jobs:
path: dist
- name: Publish distribution to Test PyPI
+ if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v')
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
