File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -117,7 +117,10 @@ jobs:
117
117
118
118
PyPI_Upload :
119
119
runs-on : ubuntu-latest
120
- needs : ['windows-test', 'OSX-test', 'manylinux-test']
120
+ environment : release
121
+ needs : [ 'windows-test', 'OSX-test', 'manylinux-test' ]
122
+ permissions :
123
+ id-token : write
121
124
steps :
122
125
- name : Download all
123
126
uses : actions/download-artifact@v2
@@ -127,7 +130,7 @@ jobs:
127
130
cp */*.{whl,gz} dist/.
128
131
- name : Publish distribution to Test PyPI
129
132
if : github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
130
- uses : pypa/gh-action-pypi-publish@master
133
+ uses : pypa/gh-action-pypi-publish@release/v1.8
131
134
with :
132
135
repository_url : https://test.pypi.org/legacy/
133
136
- name : Publish distribution to PRODUCTION PyPI
You can’t perform that action at this time.
0 commit comments