File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2121 pypi-publish :
2222 name : Build dist & upload to PyPI
2323 runs-on : ubuntu-latest
24+ permissions :
25+ id-token : write # mint the OIDC token PyPI trusted publishing verifies
26+ contents : read # actions/checkout
2427 if : ${{ github.actor == 'github-actions[bot]' || github.actor == 'ryanhill1' }}
2528 steps :
2629 - uses : actions/checkout@v4
5457 - name : Publish package to PyPI
5558 uses : pypa/gh-action-pypi-publish@release/v1
5659 with :
57- user : __token__
58- password : ${{ secrets.PYPI_API_TOKEN }}
5960 packages-dir : ${{ steps.build-dev.outputs.dir }}
Original file line number Diff line number Diff line change 2121 pypi-publish :
2222 name : Build dist & upload to PyPI
2323 runs-on : ubuntu-latest
24+ permissions :
25+ id-token : write # mint the OIDC token PyPI trusted publishing verifies
26+ contents : read # actions/checkout
2427 if : ${{ github.actor == 'github-actions[bot]' || github.actor == 'ryanhill1' }}
2528 environment : release
2629 steps :
4043
4144 - name : Publish package to PyPI
4245 uses : pypa/gh-action-pypi-publish@release/v1
43- with :
44- user : __token__
45- password : ${{ secrets.PYPI_API_TOKEN }}
You can’t perform that action at this time.
0 commit comments