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 b7ee326 commit 7d64d6dCopy full SHA for 7d64d6d
.github/workflows/pypi_publish.yml
@@ -9,7 +9,11 @@ on:
9
10
jobs:
11
publish:
12
+ name: Upload release to PyPI
13
runs-on: ubuntu-latest
14
+ # IMPORTANT: this permission is mandatory for trusted publishing.
15
+ permissions:
16
+ id-token: write
17
steps:
18
# Checks-out your repository under $GITHUB_WORKSPACE , so your workflow can access it.
19
- name: Checkout
@@ -21,4 +25,4 @@ jobs:
21
25
run: python3 -m pip install --upgrade build && python3 -m build
22
26
# Publish the python package to pypi.org.
23
27
- name: Publish Package to PyPI
24
- uses: pypa/gh-action-pypi-publish@release/v1
28
+ uses: pypa/gh-action-pypi-publish@release/v1
0 commit comments