Fix uv github actions

This commit is contained in:
Yiorgis Gozadinos 2025-11-05 13:24:21 +02:00
parent 4db4cacee4
commit b8a56f85a5
No known key found for this signature in database
2 changed files with 14 additions and 8 deletions

View file

@ -8,10 +8,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up uv
run: curl -LsSf https://astral.sh/uv/0.3.0/install.sh | sh
- name: Set up Python 3.12
run: uv python install 3.12
- uses: astral-sh/setup-uv@v4
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

View file

@ -12,10 +12,13 @@ jobs:
if: ${{ github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success' }}
steps:
- uses: actions/checkout@v4
- name: Set up uv
run: curl -LsSf https://astral.sh/uv/0.3.0/install.sh | sh
- name: Set up Python 3.12
run: uv python install 3.12
- uses: astral-sh/setup-uv@v4
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