File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ jobs:
108108 uses : actions/upload-artifact@v4
109109 if : github.event_name == 'release' && github.event.action == 'published'
110110 with :
111- name : artifact-wheels
111+ name : artifact-wheels-${{ matrix.os }}
112112 path : ./wheelhouse/*.whl
113113
114114 build_sdist :
@@ -136,6 +136,8 @@ jobs:
136136 upload_pypi :
137137 needs : [build_wheels, build_sdist]
138138 runs-on : ubuntu-latest
139+ permissions :
140+ id-token : write
139141 if : github.event_name == 'release' && github.event.action == 'published'
140142 steps :
141143 - uses : actions/download-artifact@v4
@@ -144,7 +146,5 @@ jobs:
144146 path : dist
145147 pattern : artifact-*
146148
147- - uses : pypa/gh-action-pypi-publish@master
148- with :
149- user : __token__
150- password : ${{ secrets.PYPI_API_TOKEN }}
149+ - name : Publish package distributions to PyPI
150+ uses : pypa/gh-action-pypi-publish@release/v1
You can’t perform that action at this time.
0 commit comments