Skip to content

Commit

Permalink
build: use trusted publisher and bump gh-action-pypi-publish to v1.8.14
Browse files Browse the repository at this point in the history
  • Loading branch information
eoleedi committed Apr 10, 2024
1 parent b618f37 commit 290bbd6
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,11 @@ permissions:

jobs:
deploy:

name: upload release to PyPI
runs-on: ubuntu-latest

environment: release
permissions:
id-token: write
steps:
- uses: actions/checkout@v4
- name: Set up Python
Expand All @@ -33,7 +35,4 @@ jobs:
- name: Build package
run: python -m build
- name: Publish package
uses: pypa/gh-action-pypi-publish@81e9d935c883d0b210363ab89cf05f3894778450
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
uses: pypa/gh-action-pypi-publish@v1.8.14

0 comments on commit 290bbd6

Please sign in to comment.