File tree Expand file tree Collapse file tree 3 files changed +3
-18
lines changed Expand file tree Collapse file tree 3 files changed +3
-18
lines changed Original file line number Diff line number Diff line change 30
30
with :
31
31
path : /tmp/.buildx-cache
32
32
key : ${{ runner.os }}-buildx-${{ hashFiles('**/Dockerfile') }}
33
- - name : Cache Maven packages
34
- uses : actions/cache@v3
35
- with :
36
- path : ~/.m2
37
- key : ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
38
- restore-keys : ${{ runner.os }}-m2
39
33
40
34
- name : Set up Docker Buildx
41
35
id : buildx
45
39
with :
46
40
distribution : ' zulu'
47
41
java-version : ' 17'
42
+ cache : ' maven'
48
43
49
44
- name : Create custom Maven Settings.xml
50
45
uses : whelk-io/maven-settings-xml-action@v21
Original file line number Diff line number Diff line change 25
25
with :
26
26
path : /tmp/.buildx-cache
27
27
key : ${{ runner.os }}-buildx-${{ hashFiles('**/Dockerfile') }}
28
- - name : Cache Maven packages
29
- uses : actions/cache@v3
30
- with :
31
- path : ~/.m2
32
- key : ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
33
- restore-keys : ${{ runner.os }}-m2
34
28
35
29
- name : Extract tag name
36
30
id : extract_tagname
43
37
with :
44
38
distribution : ' zulu'
45
39
java-version : ' 17'
40
+ cache : ' maven'
46
41
- name : Set up Docker Buildx
47
42
id : buildx
48
43
uses : docker/setup-buildx-action@v2
Original file line number Diff line number Diff line change @@ -37,18 +37,13 @@ jobs:
37
37
path : ~/.sonar/cache
38
38
key : ${{ runner.os }}-sonar
39
39
restore-keys : ${{ runner.os }}-sonar
40
- - name : Cache Maven packages
41
- uses : actions/cache@v3
42
- with :
43
- path : ~/.m2
44
- key : ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
45
- restore-keys : ${{ runner.os }}-m2
46
40
47
41
- name : Set up JDK 17
48
42
uses : actions/setup-java@v3
49
43
with :
50
44
distribution : ' zulu'
51
45
java-version : ' 17'
46
+ cache : ' maven'
52
47
53
48
- name : Set Common Sonar Variables
54
49
id : sonar_env
You can’t perform that action at this time.
0 commit comments