Skip to content

v0.3.1

v0.3.1 #12

Workflow file for this run

name: Pypi Publish
on:
release:
types: [ published ]
jobs:
pypi-publish:
name: upload release to PyPI
runs-on: ubuntu-latest
# Specifying a GitHub environment is optional, but strongly encouraged
environment: pypi
permissions:
# IMPORTANT: this permission is mandatory for Trusted Publishing
id-token: write
steps:
# retrieve your distributions here
- name: Checkout
uses: actions/checkout@v4
- name: Install uv
run: pip install uv
- name: Build distributions with uv
run: uv build
- name: Validate distributions with twine
run: uvx twine check dist/*
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e