Skip to content

Publish

Publish #15

Workflow file for this run

name: Publish
on:
release:
types: [created]
workflow_dispatch:
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up uv
run: curl -LsSf https://astral.sh/uv/install.sh | sh
- run: uv sync
- name: Build a binary wheel and a source tarball
run: uv build --sdist --wheel --out-dir dist/ .
- run: uv publish
env:
UV_PUBLISH_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}