Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,13 @@ jobs:
path: dist/

publish:
# TODO: trusted publisher
# https://docs.astral.sh/uv/guides/publish/#publishing-your-package
name: Publish on PyPI
runs-on: ubuntu-latest
environment:
name: release
permissions:
# IMPORTANT: this permission is mandatory for Trusted Publishing
id-token: write
needs: build
steps:
- name: Checkout source
Expand All @@ -50,5 +51,3 @@ jobs:

- name: Publish on PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}