Skip to content

Commit b7a0383

Browse files
committed
Add activate-environment to uv actions
1 parent a4de05c commit b7a0383

3 files changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/docs-publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ jobs:
2020
- uses: actions/checkout@v6
2121
- name: Install uv
2222
uses: astral-sh/setup-uv@v7
23+
with:
24+
activate-environment: true
2325
- name: Build docs site
2426
run: uv run --frozen --only-group docs mkdocs build -s
2527
- name: Upload artifact

.github/workflows/python-package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Install uv
2525
uses: astral-sh/setup-uv@v7
2626
with:
27-
enable-cache: true
27+
activate-environment: true
2828
- name: Cache HF models
2929
uses: actions/cache@v5
3030
with:

.github/workflows/python-publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ jobs:
2222
- uses: actions/checkout@v6
2323
- name: Install uv
2424
uses: astral-sh/setup-uv@v7
25+
with:
26+
activate-environment: true
2527
- name: Build package dist
2628
run: |
2729
uv pip compile --group build --generate-hashes -o build-constraints.txt

0 commit comments

Comments
 (0)