Skip to content

Commit

Permalink
Update PyPI publish.yml for trusted publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
nvictus authored Nov 8, 2023
1 parent a7346d3 commit 9a3e81f
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,12 @@ on:
jobs:
Publish:
runs-on: ubuntu-latest
permissions:
id-token: write

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Python
uses: actions/setup-python@v4
Expand All @@ -26,7 +29,3 @@ jobs:

- name: Publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: ${{ secrets.PYPI_USERNAME }}
password: ${{ secrets.PYPI_PASSWORD }}

0 comments on commit 9a3e81f

Please sign in to comment.