Skip to content

Commit 5c584aa

Browse files
committed
Fix bug in workflow
1 parent f25e349 commit 5c584aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ jobs:
3838
# Decide target (PyPI vs TestPyPI) based on tag name
3939
- name: Publish to TestPyPI (tags ending in -test)
4040
if: endsWith(github.ref_name, '-test')
41-
uses: pypa/gh-action-pypi-publish@v1
41+
uses: pypa/gh-action-pypi-publish@release/v1
4242
with:
4343
repository-url: https://test.pypi.org/legacy/
4444

4545
- name: Publish to PyPI (normal version tags)
4646
if: "!endsWith(github.ref_name, '-test')"
47-
uses: pypa/gh-action-pypi-publish@v1
47+
uses: pypa/gh-action-pypi-publish@release/v1
4848
# no repository-url needed; default is https://upload.pypi.org/legacy/

0 commit comments

Comments
 (0)