Skip to content

Commit

Permalink
ci: Update publish workflow for trusted publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
nvictus committed Sep 11, 2023
1 parent 8908392 commit 0f4cf6e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
jobs:
Publish:
runs-on: ubuntu-latest
permissions:
id-token: write

steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -26,6 +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 0f4cf6e

Please sign in to comment.