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 092d6c2 commit 11b2d79Copy full SHA for 11b2d79
.github/workflows/python-publish.yml
@@ -16,6 +16,9 @@ jobs:
16
deploy:
17
18
runs-on: ubuntu-latest
19
+ permissions:
20
+ # IMPORTANT: this permission is mandatory for trusted publishing
21
+ id-token: write
22
23
steps:
24
- uses: actions/checkout@v3
@@ -29,8 +32,5 @@ jobs:
29
32
poetry-version: 1.5.1
30
33
- name: Build package
31
34
run: poetry build
- - name: Publish to pypi.org
- env:
- POETRY_PYPI_TOKEN_PYPI: ${{secrets.POETRY_PYPI_TOKEN_PYPI}}
35
- run: |
36
- poetry publish
+ - name: Publish package distributions to PyPI
+ uses: pypa/gh-action-pypi-publish@release/v1
0 commit comments