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 5af81a1 commit 3fa4c14Copy full SHA for 3fa4c14
.github/workflows/ci.yaml
@@ -229,6 +229,10 @@ jobs:
229
publish-to-pypi:
230
needs: ["create-github-release"]
231
runs-on: ubuntu-20.04
232
+ permissions:
233
+ # For trusted publishing. See:
234
+ # https://blog.pypi.org/posts/2023-04-20-introducing-trusted-publishers/
235
+ id-token: write
236
steps:
237
- name: Download dist files
238
uses: actions/download-artifact@v3
@@ -238,6 +242,3 @@ jobs:
242
239
243
- name: Publish the Python distribution to PyPI
240
244
uses: pypa/gh-action-pypi-publish@release/v1
241
- with:
- password: ${{ secrets.PYPI_API_TOKEN }}
- skip_existing: true
0 commit comments