Skip to content

Commit

Permalink
Only publish tags to TestPyPI
Browse files Browse the repository at this point in the history
  • Loading branch information
inetAnt committed Sep 10, 2021
1 parent 830b95b commit 0187827
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
name: Publish Python distributions to TestPyPI
runs-on: ubuntu-latest
needs: run-tests # only run when tests where successful
if: github.ref == 'refs/heads/master'
if: startsWith(github.ref, 'refs/tags')

steps:
- uses: actions/checkout@v2
Expand Down

0 comments on commit 0187827

Please sign in to comment.