Skip to content

Save maven cache only on pushes into default branch#33

Merged
Frawless merged 1 commit intostrimzi:mainfrom
Frawless:cache-only-on-push
Apr 15, 2026
Merged

Save maven cache only on pushes into default branch#33
Frawless merged 1 commit intostrimzi:mainfrom
Frawless:cache-only-on-push

Conversation

@Frawless
Copy link
Copy Markdown
Member

This PR changes when we save maven cache. Currently we save it for every build and every branch which is not optimal. It seems that GitHub's key to save cache is not just cache key, but also a branch so we end-up with same caches multiple times uploaded. It should be fixed by this PR.

Signed-off-by: Jakub Stejskal <xstejs24@gmail.com>
@Frawless Frawless added this to the 1.3 milestone Apr 15, 2026
@Frawless Frawless marked this pull request as ready for review April 15, 2026 21:18
@Frawless Frawless requested a review from scholzj April 15, 2026 21:18
@Frawless Frawless merged commit 57d2db7 into strimzi:main Apr 15, 2026
97 checks passed
@Frawless Frawless deleted the cache-only-on-push branch April 15, 2026 21:34
Frawless added a commit that referenced this pull request Apr 21, 2026
Signed-off-by: Jakub Stejskal <xstejs24@gmail.com>
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.

2 participants