Skip to content

Use MKDocs for documentation (#38) #5

Use MKDocs for documentation (#38)

Use MKDocs for documentation (#38) #5

Workflow file for this run

name: Build and Publish to PyPI
on:
push:
tags:
- "v*"
jobs:
# Use uv to build and publish the package to PyPI
publish:
name: Publish
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v4
- name: Install uv and set the python version
uses: astral-sh/setup-uv@v5
with:
version: ${{ vars.UV_VERSION }}
- name: Build the package
run: uv build
- name: Publish the package
run: uv publish
env:
UV_PUBLISH_TOKEN: ${{ secrets.PYPI_TOKEN }}