File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ jobs:
108
108
uses : actions/upload-artifact@v4
109
109
if : github.event_name == 'release' && github.event.action == 'published'
110
110
with :
111
- name : artifact-wheels
111
+ name : artifact-wheels-${{ matrix.os }}
112
112
path : ./wheelhouse/*.whl
113
113
114
114
build_sdist :
@@ -136,6 +136,8 @@ jobs:
136
136
upload_pypi :
137
137
needs : [build_wheels, build_sdist]
138
138
runs-on : ubuntu-latest
139
+ permissions :
140
+ id-token : write
139
141
if : github.event_name == 'release' && github.event.action == 'published'
140
142
steps :
141
143
- uses : actions/download-artifact@v4
@@ -144,7 +146,5 @@ jobs:
144
146
path : dist
145
147
pattern : artifact-*
146
148
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