This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new 6d8f350f6038 ci: do not fail the incremental build when setup-uv has
nothing to cache
6d8f350f6038 is described below
commit 6d8f350f603800d12b41465c42608565dcc0760d
Author: Claus Ibsen <[email protected]>
AuthorDate: Thu Oct 1 10:18:28 2026 +0200
ci: do not fail the incremental build when setup-uv has nothing to cache
uv is only used by the recovered-flake report (CAMEL-24290), which the
incremental build does not
reach on every path, such as a main build that tests no module. The
setup-uv post step then fails
with "Cache path ... does not exist on disk", which fails the build job. Set
ignore-nothing-to-cache so an unused cache is skipped instead.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Signed-off-by: Claus Ibsen <[email protected]>
---
.github/actions/incremental-build/action.yaml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/.github/actions/incremental-build/action.yaml
b/.github/actions/incremental-build/action.yaml
index 8cd0866696ec..0f16439e9950 100644
--- a/.github/actions/incremental-build/action.yaml
+++ b/.github/actions/incremental-build/action.yaml
@@ -59,6 +59,8 @@ runs:
uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d #
v10.0.1
with:
enable-cache: true
+ # uv only runs when the flake report is reached, so there may be
nothing to cache
+ ignore-nothing-to-cache: true
version: "0.12.5"
python-version: "3.11"
- name: maven test