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 12d9344 commit c2e3154Copy full SHA for c2e3154
.github/workflows/publish.yaml
@@ -27,6 +27,8 @@ on:
27
jobs:
28
build-and-publish:
29
runs-on: ubuntu-latest
30
+ permissions:
31
+ id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
32
steps:
33
- name: Checkout
34
uses: actions/checkout@v4
@@ -46,6 +48,3 @@ jobs:
46
48
python -m build --sdist --wheel --outdir dist/
47
49
- name: Publish
50
uses: pypa/gh-action-pypi-publish@release/v1
- with:
- user: ${{ secrets.PYPI_USERNAME }}
51
- password: ${{ secrets.PYPI_TOKEN }}
0 commit comments