Skip to content

Commit ad49440

Browse files
bugfix
1 parent 5a644c7 commit ad49440

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

publish-to-pypi.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,15 +179,15 @@ jobs:
179179
# Unlike for the Prod branch, we will push both releases and prerelease to PyPi Test
180180
- name: Publish package to Test PyPi
181181
if: github.event_name == 'release' && startsWith(github.ref, 'refs/tags')
182-
uses: pypa/gh-action-pypi-publish/v1
182+
uses: pypa/gh-action-pypi-publish@release/v1
183183
with:
184184
user: __token__
185185
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
186186
repository_url: https://test.pypi.org/legacy/
187187
# Publish everything to Prod PyPi but only if it is not a prerelease
188188
- name: Publish package to Prod PyPi
189189
if: github.event_name == 'release' && startsWith(github.ref, 'refs/tags') && !github.event.release.prerelease
190-
uses: pypa/gh-action-pypi-publish/v1
190+
uses: pypa/gh-action-pypi-publish@release/v1
191191
with:
192192
user: __token__
193193
password: ${{ secrets.PROD_PYPI_API_TOKEN }}

0 commit comments

Comments
 (0)