Skip to content

Commit 3f53700

Browse files
authored
DOC: Do not use master in examples
to be consistent with the "pro tip"
1 parent f91f98d commit 3f53700

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ To use the action add the following step to your workflow file (e.g.
1313

1414
```yml
1515
- name: Publish a Python distribution to PyPI
16-
uses: pypa/gh-action-pypi-publish@master
16+
uses: pypa/gh-action-pypi-publish@v1
1717
with:
1818
user: __token__
1919
password: ${{ secrets.PYPI_API_TOKEN }}
@@ -38,7 +38,7 @@ So the full step would look like:
3838
```yml
3939
- name: Publish package
4040
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
41-
uses: pypa/gh-action-pypi-publish@master
41+
uses: pypa/gh-action-pypi-publish@v1
4242
with:
4343
user: __token__
4444
password: ${{ secrets.PYPI_API_TOKEN }}
@@ -78,7 +78,7 @@ You'll need to create another token for a separate host and then
7878
The action invocation in this case would look like:
7979
```yml
8080
- name: Publish package to TestPyPI
81-
uses: pypa/gh-action-pypi-publish@master
81+
uses: pypa/gh-action-pypi-publish@v1
8282
with:
8383
user: __token__
8484
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
@@ -93,7 +93,7 @@ would now look like:
9393

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

0 commit comments

Comments
 (0)