Skip to content

Commit

Permalink
Switch to trusted publisher
Browse files Browse the repository at this point in the history
  • Loading branch information
frankinspace authored Jul 6, 2023
1 parent 092d6c2 commit 11b2d79
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ jobs:
deploy:

runs-on: ubuntu-latest
permissions:
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write

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

0 comments on commit 11b2d79

Please sign in to comment.