Skip to content

Commit ce4fd9c

Browse files
committed
Try to fix caching
1 parent 6bb3c79 commit ce4fd9c

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/integration.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,22 @@ jobs:
2020
with:
2121
distribution: 'temurin'
2222
java-version: '21'
23-
cache: 'maven'
23+
24+
- name: Cache Maven packages
25+
uses: actions/cache@v4
26+
with:
27+
path: ~/.m2/repository
28+
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
29+
restore-keys: |
30+
${{ runner.os }}-maven-
2431
2532
- name: Cache SonarCloud packages
2633
uses: actions/cache@v4
2734
with:
2835
path: ~/.sonar/cache
2936
key: ${{ runner.os }}-sonar
30-
restore-keys: ${{ runner.os }}-sonar
37+
restore-keys: |
38+
${{ runner.os }}-sonar
3139
3240
- name: Build and test
3341
env:

0 commit comments

Comments
 (0)