Skip to content

Commit 1f35bc3

Browse files
committed
Use the release-branch in GHA publish snippets
Resolves #1108
1 parent 4e64075 commit 1f35bc3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/guides/github-actions-ci-cd-sample/publish-to-test-pypi.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ jobs:
2929
.
3030
# Actually publish to PyPI/TestPyPI
3131
- name: Publish distribution 📦 to Test PyPI
32-
uses: pypa/gh-action-pypi-publish@master
32+
uses: pypa/gh-action-pypi-publish@release/v1
3333
with:
3434
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
3535
repository_url: https://test.pypi.org/legacy/
3636
- name: Publish distribution 📦 to PyPI
3737
if: startsWith(github.ref, 'refs/tags')
38-
uses: pypa/gh-action-pypi-publish@master
38+
uses: pypa/gh-action-pypi-publish@release/v1
3939
with:
4040
password: ${{ secrets.PYPI_API_TOKEN }}

0 commit comments

Comments
 (0)