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 1edbf2b commit 8dc692fCopy full SHA for 8dc692f
.github/workflows/publish.yml
@@ -8,6 +8,10 @@ jobs:
8
deploy:
9
runs-on: ubuntu-latest
10
11
+ permission:
12
+ # IMPORTANT: this permission is mandatory for trusted publishing
13
+ id-token: write
14
+
15
steps:
16
- uses: actions/checkout@v3
17
- name: Set up Python
@@ -26,6 +30,3 @@ jobs:
26
30
- name: Publish distribution 📦 to PyPI
27
31
if: startsWith(github.event.ref, 'refs/tags') || github.event_name == 'release'
28
32
uses: pypa/gh-action-pypi-publish@release/v1
29
- with:
- user: __token__
- password: ${{ secrets.PYPI_API_TOKEN }}
0 commit comments