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:
117117
118118 PyPI_Upload :
119119 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
121124 steps :
122125 - name : Download all
123126 uses : actions/download-artifact@v2
@@ -127,7 +130,7 @@ jobs:
127130 cp */*.{whl,gz} dist/.
128131 - name : Publish distribution to Test PyPI
129132 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
131134 with :
132135 repository_url : https://test.pypi.org/legacy/
133136 - name : Publish distribution to PRODUCTION PyPI
You can’t perform that action at this time.
0 commit comments