haiku.rag/.github/workflows/build-publish.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

25 lines
761 B
YAML

name: Build & publish haiku.rag to pypi
on:
workflow_run:
workflows: ["Build & publish haiku.rag-slim to pypi"]
types:
- completed
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
if: ${{ github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success' }}
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
run: uv build
- name: Publish haiku.rag
run: uvx twine upload -u __token__ -p ${{ secrets.PYPI_API_TOKEN }} dist/* --non-interactive