Added automatic publishing to pypi

This commit is contained in:
2025-05-23 12:31:16 +01:00
parent f4c8cbea03
commit 51f11bd910

19
.github/workflows/publish.yml vendored Normal file
View File

@@ -0,0 +1,19 @@
name: Publish to PyPI
on:
push:
tags:
- "*"
jobs:
publish:
runs-on: ubuntu-latest
environment: release
steps:
- uses: actions/checkout@v4
- name: Install uv
run: pip install uv
- name: Build package
run: uv build
- name: Publish to PyPI
run: uv publish --token ${{ secrets.PYPI_API_TOKEN }}