We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eb5019e commit 506cebcCopy full SHA for 506cebc
1 file changed
.github/workflows/build.yml
@@ -76,7 +76,7 @@ jobs:
76
publish:
77
runs-on: ubuntu-18.04
78
needs: build
79
- if: github.event_name == 'release'
+ if: github.event_name == 'release' || startsWith(github.ref, 'refs/tags/')
80
steps:
81
- name: Download a distribution artifact
82
uses: actions/download-artifact@v2
@@ -89,8 +89,10 @@ jobs:
89
user: __token__
90
password: ${{ secrets.test_pypi_password }}
91
repository_url: https://test.pypi.org/legacy/
92
+ packages_dir: dist-package-3.9/
93
- name: Publish distribution 📦 to PyPI
94
uses: pypa/gh-action-pypi-publish@master
95
with:
96
97
password: ${{ secrets.pypi_password }}
98
0 commit comments