Skip to content

Commit

Permalink
Merge pull request #95 from paulromano/trusted-publisher
Browse files Browse the repository at this point in the history
Change PyPI release workflow to use trusted publishing
  • Loading branch information
nstauff authored May 9, 2023
2 parents 35aa42b + 6fd73bb commit 1e72fcb
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/publish-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ on:
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- uses: actions/checkout@v2
- name: Set up Python
Expand All @@ -21,6 +23,3 @@ jobs:
run: python -m build
- name: Publish a Python distribution to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}

0 comments on commit 1e72fcb

Please sign in to comment.