Skip to content

Commit

Permalink
ci: Switch to Trusted Publishers (#154)
Browse files Browse the repository at this point in the history
  • Loading branch information
manzt authored Nov 9, 2024
1 parent add10c6 commit 0f95bdf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ jobs:
needs: [Lint, Test]
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags')
permissions:
id-token: write
contents: read
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v3
Expand All @@ -46,6 +49,3 @@ jobs:
- run: uv build
- 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 0f95bdf

Please sign in to comment.