ci: added pypi release workflow

This commit is contained in:
Daniel Fichtinger 2025-07-13 21:59:53 -04:00
parent e69dd80875
commit 8b849fd2a0

View file

@ -0,0 +1,22 @@
on:
push:
tags:
- 'v*'
jobs:
publish:
runs-on: docker
container:
image: node:alpine
steps:
- name: Install dependencies
run: |
apk add --no-cache coreutils uv
- uses: actions/checkout@v4
- name: build
run: |
uv sync
uv build
- name: publish
run: |
uv publish --token ${{ secrets.PYPI_TOKEN }}