Skip to content

Commit 11b2d79

Browse files
authored
1 parent 092d6c2 commit 11b2d79

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/python-publish.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ jobs:
1616
deploy:
1717

1818
runs-on: ubuntu-latest
19+
permissions:
20+
# IMPORTANT: this permission is mandatory for trusted publishing
21+
id-token: write
1922

2023
steps:
2124
- uses: actions/checkout@v3
@@ -29,8 +32,5 @@ jobs:
2932
poetry-version: 1.5.1
3033
- name: Build package
3134
run: poetry build
32-
- name: Publish to pypi.org
33-
env:
34-
POETRY_PYPI_TOKEN_PYPI: ${{secrets.POETRY_PYPI_TOKEN_PYPI}}
35-
run: |
36-
poetry publish
35+
- name: Publish package distributions to PyPI
36+
uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)