Skip to content

Commit

Permalink
Only run on tag
Browse files Browse the repository at this point in the history
  • Loading branch information
awlx authored Jan 16, 2022
1 parent 9aa002a commit b5d45bd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ jobs:
--wheel
--outdir dist/
.
- name: Publish distribution 📦 to Test PyPI
- name: Publish distribution 📦 to Test PyPI
if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@master
with:
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
Expand Down

0 comments on commit b5d45bd

Please sign in to comment.