Skip to content

Commit 11d2193

Browse files
authored
Update publish-to-pypi.yml
1 parent 2ea913f commit 11d2193

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/publish-to-pypi.yml

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ on: push
33
jobs:
44
build-n-publish:
55
name: Build and publish to PyPI
6+
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
67
runs-on: ubuntu-latest
78
steps:
89
- uses: actions/checkout@master

0 commit comments

Comments
 (0)