We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e4a358 commit 998ec15Copy full SHA for 998ec15
.github/workflows/publish.yml
@@ -2,8 +2,8 @@ name: Publish to PyPI
2
3
on:
4
push:
5
- branches:
6
- - master
+ tags:
+ - "*"
7
8
jobs:
9
build-n-publish:
@@ -22,7 +22,6 @@ jobs:
22
run: >-
23
python setup.py sdist
24
- name: Publish distribution 📦 to PyPI
25
- if: startsWith(github.ref, 'refs/tags')
26
uses: pypa/gh-action-pypi-publish@master
27
with:
28
password: ${{ secrets.pypi_password }}
0 commit comments