Skip to content

v0.3.0

v0.3.0 #5

Workflow file for this run

# Release a new version of the project to PyPI
# To trigger this workflow manually, run the following command:
# gh release create
name: Publish Release
on:
release:
types: [published]
jobs:
build-and-publish:
name: Build and publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install the latest version of uv
uses: astral-sh/setup-uv@v2
with:
version: "latest"
enable-cache: true
- name: Sync Deps
run: uv sync
- name: Build
run: uv build
- name: Publish
run: uvx twine upload dist/*
env:
TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}