Skip to content

Commit 506cebc

Browse files
v0.0.7 📜
1 parent eb5019e commit 506cebc

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ jobs:
7676
publish:
7777
runs-on: ubuntu-18.04
7878
needs: build
79-
if: github.event_name == 'release'
79+
if: github.event_name == 'release' || startsWith(github.ref, 'refs/tags/')
8080
steps:
8181
- name: Download a distribution artifact
8282
uses: actions/download-artifact@v2
@@ -89,8 +89,10 @@ jobs:
8989
user: __token__
9090
password: ${{ secrets.test_pypi_password }}
9191
repository_url: https://test.pypi.org/legacy/
92+
packages_dir: dist-package-3.9/
9293
- name: Publish distribution 📦 to PyPI
9394
uses: pypa/gh-action-pypi-publish@master
9495
with:
9596
user: __token__
9697
password: ${{ secrets.pypi_password }}
98+
packages_dir: dist-package-3.9/

0 commit comments

Comments
 (0)