Skip to content

v10.0.3

v10.0.3 #664

Workflow file for this run

# This workflow builds and uploads the Python package to PyPI when a release is created
name: Upload Python Package
on:
release:
types: [ created ]
jobs:
deploy:
permissions:
id-token: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
# setuptools_scm needs full history + tags to derive the release version
# from the tag; a shallow clone yields a PyPI-rejected local version
# like 0.1.dev1+g<hash>.
fetch-depth: 0
- name: Install uv
uses: astral-sh/setup-uv@v7
- name: Build distributions
run: uv build
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
packages-dir: dist
verbose: true