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