Skip to content

Use upload/download-artifact for CI inter-job repo sharing#2499

Merged
jbonofre merged 1 commit intoapache:karaf-4.4.xfrom
jbonofre:fix/ci-cache-artifact-4.4.x
Apr 2, 2026
Merged

Use upload/download-artifact for CI inter-job repo sharing#2499
jbonofre merged 1 commit intoapache:karaf-4.4.xfrom
jbonofre:fix/ci-cache-artifact-4.4.x

Conversation

@jbonofre
Copy link
Copy Markdown
Member

@jbonofre jbonofre commented Apr 1, 2026

Summary

Test plan

  • Verify CI build + test jobs pass on this PR
  • Verify re-running the test job after some time still works

…haring

The cache/save and cache/restore actions are subject to GitHub's 7-day
cache eviction policy. When a test job is re-run after the cache expires,
the Maven local repository is empty and SNAPSHOT artifacts like
apache-karaf:tar.gz cannot be resolved, causing build failures.

Switching to upload-artifact/download-artifact ties the Maven local repo
to the workflow run itself, making test job re-runs reliable regardless
of cache expiration.
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 1, 2026

Test Results

242 files  ±0  242 suites  ±0   27m 56s ⏱️ -18s
993 tests ±0  950 ✅ ±0  43 💤 ±0  0 ❌ ±0 
997 runs  ±0  954 ✅ ±0  43 💤 ±0  0 ❌ ±0 

Results for commit 6ba0bce. ± Comparison against base commit 9576444.

@jbonofre jbonofre merged commit c005392 into apache:karaf-4.4.x Apr 2, 2026
3 checks passed
@jbonofre jbonofre deleted the fix/ci-cache-artifact-4.4.x branch April 2, 2026 08:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant