Repository navigation
IGNITE-29134 Unify the Maven repository cache of GitHub Actions workflows - #13682
Open
NSAmelchev wants to merge 1 commit into
Open
NSAmelchev wants to merge 1 commit into
NSAmelchev wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
All workflows cache ~/.m2/repository under the same -m2- key, with Ignite *-SNAPSHOT artifacts excluded: every job installs what it needs itself, and the Sonar scan takes classes from the build artifact. Each pom state is now stored once as a 497 MB entry instead of 500 MB + 792 MB.
Behavior change: actions/cache does not save the entry when the job fails, unlike setup-java; master builds are unaffected, PR runs fall back to the master entry via restore-keys.
Also removed a duplicated Setup JDK17 step in sonar-branch.yml and duplicated modules/core entries in the javadoc check command.
Checked in the fork:
NSAmelchev/ignite#50 (checkstyle failed, cache not saved)
NSAmelchev/ignite#51 (build passed, 497 MB cache entry saved)