Use MKDocs for documentation (#38) #5
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |