File tree Expand file tree Collapse file tree
.github/actions/maven-cache Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,18 +17,14 @@ runs:
1717 if : github.ref_name != github.event.repository.default_branch
1818 uses : actions/cache/restore@v5
1919 with :
20- path : |
21- ~/.m2/repository
22- !~/.m2/repository/org/sonarsource/javascript
20+ path : ~/.m2/repository
2321 key : maven-${{ runner.os }}-${{ inputs.cache-month }}-${{ inputs.maven-hash }}
2422 restore-keys : maven-${{ runner.os }}-${{ inputs.cache-month }}-
2523
2624 # Full cache on default branch (save enabled)
27- # Note: Exclusion patterns don't work reliably with runs-on/cache used by gh-action_cache.
28- # Instead, we clean up SonarJS artifacts at the end of the job before post-job cache save.
2925 - name : Cache Maven dependencies (default branch)
3026 if : github.ref_name == github.event.repository.default_branch
31- uses : SonarSource/gh-action_cache@v1
27+ uses : actions/cache@v5
3228 with :
3329 path : ~/.m2/repository
3430 key : maven-${{ runner.os }}-${{ inputs.cache-month }}-${{ inputs.maven-hash }}
You can’t perform that action at this time.
0 commit comments