feature: agrego workflow para subir paquete a pypi

This commit is contained in:
jt
2026-07-08 21:55:16 -03:00
parent 069c62b697
commit e94ee2ccc7
2 changed files with 29 additions and 19 deletions
+29
View File
@@ -0,0 +1,29 @@
name: Publish to PyPI
on:
push:
branches:
- main
jobs:
Publish-to-PyPI:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: "Set up Python"
uses: actions/setup-python@v5
with:
python-version-file: ".python-version"
- name: Install uv
uses: astral-sh/setup-uv@v8
- name: Bump version
run: |
uv run git-flow tag --token=$GITEA_TOKEN
- name: Build and publish
run: |
uv build
uv publish --token=$PYPI_TOKEN