Skip to content

Workflow file for this run

name: Publish Python 🐍 distributions 📦 to PyPI
on:
release:
types: [published]
workflow_dispatch:
jobs:
build:
name: build and upload release to PyPI
runs-on: ubuntu-latest
environment: "release"
permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v2
- name: Build Package
run: uv build
- name: Publish package distributions to PyPI
run: uv publish