We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c19fa0 commit 41ddfc7Copy full SHA for 41ddfc7
.github/workflows/build.yml
@@ -167,16 +167,16 @@ jobs:
167
upload_pypi:
168
needs: [build_wheels, build_sdist]
169
runs-on: ubuntu-latest
170
+ permissions:
171
+ id-token: write # needed for trusted publishing
172
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
173
steps:
174
- uses: actions/download-artifact@v4
175
with:
176
pattern: artifact-*
177
merge-multiple: true
178
path: dist
- - uses: pypa/gh-action-pypi-publish@v1.5.0
179
+ - uses: pypa/gh-action-pypi-publish@release/v1
180
- password: ${{ secrets.PYPI_API_TOKEN }}
181
# testing:
182
#repository_url: https://test.pypi.org/legacy/
- #password: ${{ secrets.TEST_PYPI_API_TOKEN }}
0 commit comments