Skip to content

Build python package and push it to PiPy #10

Build python package and push it to PiPy

Build python package and push it to PiPy #10

---
name: Build python package and push it to PiPy
on:
create:
tags: ["v*"]
permissions:
contents: read
id-token: write
jobs:
uv-check:
name: python
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version-file: "pyproject.toml"
- name: Install the project
run: uv sync --dev
- name: Build package
run: uv build
- name: Publish package
run: uv publish