Commit c7cdb40
authored
fix(ci): disable uv cache cleanup when UV_NO_CACHE is set (#4889)
# What does this PR do?
When disable_cache is true (e.g., from stainless-builds.yml),
UV_NO_CACHE=true is set as a job-level env. The setup-uv action's
post-job cleanup runs "uv cache prune" which, under UV_NO_CACHE=true,
targets an ephemeral temp directory that lacks the expected structure,
causing the step to fail.
Pass enable-cache based on UV_NO_CACHE so setup-uv skips its cache prune
post-step when caching is disabled.
see
https://github.com/llamastack/llama-stack/actions/runs/21912319402/job/63270887740?pr=4824
for example failure.
## Test Plan
stainless integration tests should pass. as should all other integration
tests.
Signed-off-by: Charlie Doern <cdoern@redhat.com>1 parent 5f66b52 commit c7cdb40
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
0 commit comments