Skip to content

Commit 34132ee

Browse files
committed
Only test-publish when tagged
1 parent b55064c commit 34132ee

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ jobs:
3333

3434
publish-to-testpypi:
3535
name: Publish Python 🐍 distribution 📦 to TestPyPI
36+
if: startsWith(github.ref, 'refs/tags/testpypi-v') # only publish to PyPI on tag pushes
3637
needs:
3738
- build
3839
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)