Skip to content

Sweep dependencies, pin uv in CI, and bump to 2.6.10 (#89) #47

Sweep dependencies, pin uv in CI, and bump to 2.6.10 (#89)

Sweep dependencies, pin uv in CI, and bump to 2.6.10 (#89) #47

Workflow file for this run

name: Publish
on:
push:
tags: ["v*"]
permissions:
contents: write
id-token: write
concurrency:
group: publish
cancel-in-progress: false
jobs:
publish:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v7
- uses: astral-sh/[email protected]
with:
version: "0.12.13"
- name: Set version from tag
run: sed -i "s/^version = .*/version = \"${GITHUB_REF_NAME#v}\"/" pyproject.toml
- run: uv build
- name: Publish to PyPI
uses: pypa/[email protected]
- name: Create GitHub Release
run: gh release create "$GITHUB_REF_NAME" --generate-notes
env:
GH_TOKEN: ${{ github.token }}