File tree Expand file tree Collapse file tree 3 files changed +12
-7
lines changed Expand file tree Collapse file tree 3 files changed +12
-7
lines changed Original file line number Diff line number Diff line change 24
24
uses : actions/cache@v3
25
25
with :
26
26
path : ~/.m2
27
- key : ${{ runner.os }}-m2 -${{ hashFiles('**/pom.xml') }}
28
- restore-keys : ${{ runner.os }}-m2
27
+ key : deploy- ${{ runner.os }}-maven -${{ hashFiles('**/pom.xml') }}
28
+ restore-keys : deploy- ${{ runner.os }}-maven
29
29
- name : Install bats
30
30
run : sudo apt-get install bats
31
31
- name : Build images
Original file line number Diff line number Diff line change 14
14
with :
15
15
distribution : temurin
16
16
java-version : ' 17'
17
- cache : ' maven'
17
+ - name : Cache Maven packages
18
+ uses : actions/cache@v3
19
+ with :
20
+ path : ~/.m2
21
+ key : xqts-${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
22
+ restore-keys : xqts-${{ runner.os }}-maven
18
23
- name : Maven XQTS Build
19
24
run : mvn -V -B clean package -DskipTests -Ddependency-check.skip=true --projects exist-xqts --also-make
20
25
- name : Run XQTS
Original file line number Diff line number Diff line change @@ -23,14 +23,14 @@ jobs:
23
23
uses : actions/cache@v3
24
24
with :
25
25
path : ~/.sonar/cache
26
- key : ${{ runner.os }}-sonar
27
- restore-keys : ${{ runner.os }}-sonar
26
+ key : sonarcloud- ${{ runner.os }}-cache-${{ hashFiles('**/pom.xml') }}
27
+ restore-keys : sonarcloud- ${{ runner.os }}-cache
28
28
- name : Cache Maven packages
29
29
uses : actions/cache@v3
30
30
with :
31
31
path : ~/.m2
32
- key : ${{ runner.os }}-m2 -${{ hashFiles('**/pom.xml') }}
33
- restore-keys : ${{ runner.os }}-m2
32
+ key : sonarcloud- ${{ runner.os }}-maven -${{ hashFiles('**/pom.xml') }}
33
+ restore-keys : sonarcloud- ${{ runner.os }}-maven
34
34
- name : Analyze
35
35
env :
36
36
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
You can’t perform that action at this time.
0 commit comments