Skip to content

v2.4.6

v2.4.6 #13

Workflow file for this run

name: Publish Python Package
on:
release:
types: [published]
permissions:
contents: read
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install uv
run: curl -LsSf https://astral.sh/uv/install.sh | sh
- name: Setup Python
run: uv python install 3.11
- name: Install dependencies
run: uv sync --dev
- name: Build distributions
run: uvx --from build pyproject-build --installer uv
- name: Publish the package
run: uvx twine upload --password ${{ secrets.PYPI_API_TOKEN }} dist/*