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