haiku.rag/.github/workflows/build-publish-slim.yml
Yiorgis Gozadinos eb09dc6d2c
Pin setup-uv to v9.0.0
There is no floating v9 tag — setup-uv publishes moving majors only up to
v7, so v9 failed to resolve and the lint job never started.
2026-07-27 13:38:02 +03:00

22 lines
628 B
YAML

name: Build & publish haiku.rag-slim to pypi
on:
release:
types: [published]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v9.0.0
with:
enable-cache: true
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version-file: "pyproject.toml"
- name: Build haiku.rag-slim
run: uv build --package haiku.rag-slim
- name: Publish haiku.rag-slim
run: uvx twine upload -u __token__ -p ${{ secrets.PYPI_API_TOKEN_SLIM }} dist/* --non-interactive