File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -190,6 +190,11 @@ jobs:
190190 name : Build and publish to PyPI
191191 needs : [deploy, conda-build]
192192 runs-on : ubuntu-latest
193+ environment :
194+ name : release
195+ url : https://pypi.org/project/bioimageio.spec/
196+ permissions :
197+ id-token : write # required for pypi publish action
193198 steps :
194199 - name : Check out the repository
195200 uses : actions/checkout@v4
@@ -233,10 +238,8 @@ jobs:
233238
234239 - name : Publish package on PyPI
235240 if : github.ref == 'refs/heads/main' && steps.tag-version.outputs.new_tag
236- uses : pypa/gh-action-pypi-publish@release/v1.12
241+ uses : pypa/gh-action-pypi-publish@release/v1
237242 with :
238- user : __token__
239- password : ' ${{ secrets.PYPI_TOKEN }}'
240243 packages-dir : dist/
241244
242245 - name : Publish the release notes
You can’t perform that action at this time.
0 commit comments