File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ To use the action add the following step to your workflow file (e.g.
13
13
14
14
``` yml
15
15
- name : Publish a Python distribution to PyPI
16
- uses : pypa/gh-action-pypi-publish@master
16
+ uses : pypa/gh-action-pypi-publish@v1
17
17
with :
18
18
user : __token__
19
19
password : ${{ secrets.PYPI_API_TOKEN }}
@@ -38,7 +38,7 @@ So the full step would look like:
38
38
` ` ` yml
39
39
- name: Publish package
40
40
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
42
42
with:
43
43
user: __token__
44
44
password: ${{ secrets.PYPI_API_TOKEN }}
@@ -78,7 +78,7 @@ You'll need to create another token for a separate host and then
78
78
The action invocation in this case would look like :
79
79
` ` ` yml
80
80
- name: Publish package to TestPyPI
81
- uses: pypa/gh-action-pypi-publish@master
81
+ uses: pypa/gh-action-pypi-publish@v1
82
82
with:
83
83
user: __token__
84
84
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
@@ -93,7 +93,7 @@ would now look like:
93
93
94
94
` ` ` yml
95
95
- name: Publish package to PyPI
96
- uses: pypa/gh-action-pypi-publish@master
96
+ uses: pypa/gh-action-pypi-publish@v1
97
97
with:
98
98
user: __token__
99
99
password: ${{ secrets.PYPI_API_TOKEN }}
You can’t perform that action at this time.
0 commit comments