Skip to content

Commit 745da56

Browse files
[BUILD] Add caching of maven dependencies on build step
1 parent 10fee6e commit 745da56

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ jobs:
2929
- uses: jdx/mise-action@5ac50f778e26fac95da98d50503682459e86d566 # v3.2.0
3030
with:
3131
version: 2025.7.12
32+
- uses: SonarSource/ci-github-actions/cache@v1
33+
with:
34+
path: ~/.m2/repository
35+
key: sonar-java-build-${{ runner.os }}-${{ hashFiles('**/pom.xml') }}
3236
- uses: SonarSource/ci-github-actions/build-maven@v1
3337
id: build-maven
3438
with:

0 commit comments

Comments
 (0)