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:
199
199
needs : [build_wheels_linux, build_wheels_macos, build_wheels_windows]
200
200
runs-on : ubuntu-latest
201
201
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
+
202
210
steps :
203
211
- name : Download all workflow run artifacts
204
212
uses : actions/download-artifact@v4
205
213
with :
206
214
path : dist
215
+
207
216
- name : Publish to PyPI
208
- uses : pypa/gh-action-pypi-publish@v1.9.0
217
+ uses : pypa/gh-action-pypi-publish@release/v1
209
218
with :
210
- user : __token__
211
- password : ${{ secrets.PYPI_API_TOKEN }}
212
219
packages-dir : dist/*
213
220
214
221
create_release :
You can’t perform that action at this time.
0 commit comments