Skip to content

Commit a1b23f8

Browse files
authored
another try at fixing PyPI uploads
1 parent 237cc27 commit a1b23f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/tests+pypi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,5 +215,5 @@ jobs:
215215
uses: pypa/gh-action-pypi-publish@unstable/v1
216216
with:
217217
repository_url: https://test.pypi.org/legacy/
218-
- if: startsWith(env.GITHUB_REF, 'refs/tags')
218+
- if: github.event_name == 'release' && github.event.action == 'created'
219219
uses: pypa/gh-action-pypi-publish@unstable/v1

0 commit comments

Comments
 (0)