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 4ddefe5 commit fb0ca55Copy full SHA for fb0ca55
.github/workflows/test.yml
@@ -199,13 +199,13 @@ jobs:
199
runs-on: ubuntu-latest
200
environment: "Package deployment"
201
needs: [test, test-package]
202
+ permissions:
203
+ # Required for trusted publishing
204
+ id-token: write
205
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
206
steps:
207
- uses: actions/download-artifact@v3
208
with:
209
name: dist
210
path: dist/
211
- uses: pypa/gh-action-pypi-publish@release/v1
- with:
- user: __token__
- password: ${{ secrets.PYPI_API_TOKEN }}
0 commit comments