Skip to content

Publish package to PyPi #34

Publish package to PyPi

Publish package to PyPi #34

Workflow file for this run

name: Publish package to PyPi
on:
release:
types: [published]
jobs:
push:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install uv and set the python version
uses: astral-sh/setup-uv@v5
with:
python-version: 3.11
- name: Build package
run: uv build
- name: Publish to PyPi
run: uv publish
env:
UV_PUBLISH_TOKEN: ${{ secrets.PYPI_UPLOAD_TOKEN }}