File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed
Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -106,18 +106,17 @@ jobs:
106106 runs-on : ubuntu-22.04
107107 # upload to PyPI for every tag starting with 'v'
108108 if : github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v')
109- environment : release
110109 steps :
111110 - uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
112111 with :
113112 pattern : pypi-artifacts*
114113 path : ${{ github.workspace }}/dist
115114 merge-multiple : true
116115
117- - uses : pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # v1.12.4
118- with :
119- user : __token__
120- password : ${{ secrets.PYPI_PASSWORD }}
121- print_hash : true
116+ - name : Publish package distributions to PyPI
117+ uses : pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # v1.12.4
118+ environment :
119+ name : release
120+ url : https://pypi.org/p/gsw
122121 permissions :
123- actions : write
122+ id-token : write # IMPORTANT: this permission is mandatory for trusted publishing
You can’t perform that action at this time.
0 commit comments