Skip to content

Release PyPi package #27

Release PyPi package

Release PyPi package #27

Workflow file for this run

name: Release PyPi package
on:
workflow_dispatch:
push:
tags:
- 'v*'
jobs:
publish-to-pypi:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v5
with:
enable-cache: true
cache-dependency-glob: "uv.lock"
- uses: actions/setup-python@v5
with:
python-version-file: ".python-version"
- name: Build and publish package
run: |
uv build --wheel --sdist
uv publish -t ${{ secrets.PYPI_TOKEN }}