Skip to content

Commit c89694f

Browse files
committed
Merge PR #55
2 parents ed5a157 + 3f53700 commit c89694f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ To use the action add the following step to your workflow file (e.g.
1414

1515
```yml
1616
- name: Publish a Python distribution to PyPI
17-
uses: pypa/gh-action-pypi-publish@master
17+
uses: pypa/gh-action-pypi-publish@release/v1
1818
with:
1919
user: __token__
2020
password: ${{ secrets.PYPI_API_TOKEN }}
@@ -39,7 +39,7 @@ So the full step would look like:
3939
```yml
4040
- name: Publish package
4141
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
42-
uses: pypa/gh-action-pypi-publish@master
42+
uses: pypa/gh-action-pypi-publish@release/v1
4343
with:
4444
user: __token__
4545
password: ${{ secrets.PYPI_API_TOKEN }}
@@ -79,7 +79,7 @@ You'll need to create another token for a separate host and then
7979
The action invocation in this case would look like:
8080
```yml
8181
- name: Publish package to TestPyPI
82-
uses: pypa/gh-action-pypi-publish@master
82+
uses: pypa/gh-action-pypi-publish@release/v1
8383
with:
8484
user: __token__
8585
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
@@ -94,7 +94,7 @@ would now look like:
9494

9595
```yml
9696
- name: Publish package to PyPI
97-
uses: pypa/gh-action-pypi-publish@master
97+
uses: pypa/gh-action-pypi-publish@release/v1
9898
with:
9999
user: __token__
100100
password: ${{ secrets.PYPI_API_TOKEN }}

0 commit comments

Comments
 (0)