File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -199,16 +199,23 @@ jobs:
199199 needs : [build_wheels_linux, build_wheels_macos, build_wheels_windows]
200200 runs-on : ubuntu-latest
201201 if : startsWith(github.ref, 'refs/tags/quaddtype-v')
202+
203+ environment :
204+ name : quadtype_release
205+ url : https://pypi.org/p/numpy-quaddtype
206+
207+ permissions :
208+ id-token : write # IMPORTANT: mandatory for trusted publishing
209+
202210 steps :
203211 - name : Download all workflow run artifacts
204212 uses : actions/download-artifact@v4
205213 with :
206214 path : dist
215+
207216 - name : Publish to PyPI
208- uses : pypa/gh-action-pypi-publish@v1.9.0
217+ uses : pypa/gh-action-pypi-publish@release/v1
209218 with :
210- user : __token__
211- password : ${{ secrets.PYPI_API_TOKEN }}
212219 packages-dir : dist/*
213220
214221 create_release :
You can’t perform that action at this time.
0 commit comments