Fix uv github actions
This commit is contained in:
parent
4db4cacee4
commit
b8a56f85a5
2 changed files with 14 additions and 8 deletions
11
.github/workflows/build-publish-slim.yml
vendored
11
.github/workflows/build-publish-slim.yml
vendored
|
|
@ -8,10 +8,13 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Set up uv
|
- uses: astral-sh/setup-uv@v4
|
||||||
run: curl -LsSf https://astral.sh/uv/0.3.0/install.sh | sh
|
with:
|
||||||
- name: Set up Python 3.12
|
enable-cache: true
|
||||||
run: uv python install 3.12
|
- name: Set up Python
|
||||||
|
uses: actions/setup-python@v5
|
||||||
|
with:
|
||||||
|
python-version-file: "pyproject.toml"
|
||||||
- name: Build haiku.rag-slim
|
- name: Build haiku.rag-slim
|
||||||
run: uv build --package haiku.rag-slim
|
run: uv build --package haiku.rag-slim
|
||||||
- name: Publish haiku.rag-slim
|
- name: Publish haiku.rag-slim
|
||||||
|
|
|
||||||
11
.github/workflows/build-publish.yml
vendored
11
.github/workflows/build-publish.yml
vendored
|
|
@ -12,10 +12,13 @@ jobs:
|
||||||
if: ${{ github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success' }}
|
if: ${{ github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success' }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Set up uv
|
- uses: astral-sh/setup-uv@v4
|
||||||
run: curl -LsSf https://astral.sh/uv/0.3.0/install.sh | sh
|
with:
|
||||||
- name: Set up Python 3.12
|
enable-cache: true
|
||||||
run: uv python install 3.12
|
- name: Set up Python
|
||||||
|
uses: actions/setup-python@v5
|
||||||
|
with:
|
||||||
|
python-version-file: "pyproject.toml"
|
||||||
- name: Build haiku.rag
|
- name: Build haiku.rag
|
||||||
run: uv build
|
run: uv build
|
||||||
- name: Publish haiku.rag
|
- name: Publish haiku.rag
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue