Skip to content

Commit

Permalink
Update pypi publish action permission
Browse files Browse the repository at this point in the history
  • Loading branch information
rmshaffer committed May 8, 2024
1 parent 966964c commit 5382326
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ jobs:
build-and-publish:
name: Build and publish distribution to PyPi
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
- name: Set up Python
Expand All @@ -27,5 +29,3 @@ jobs:
run: python setup.py sdist bdist_wheel
- name: Publish distribution to PyPI
uses: pypa/gh-action-pypi-publish@81e9d935c883d0b210363ab89cf05f3894778450 # release/v1
with:
password: ${{ secrets.pypi_token }}

0 comments on commit 5382326

Please sign in to comment.