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 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@v2
Original file line number Diff line number Diff line change @@ -36,18 +36,13 @@ jobs:
36
36
path : ~/.sonar/cache
37
37
key : ${{ runner.os }}-sonar
38
38
restore-keys : ${{ runner.os }}-sonar
39
- - name : Cache Maven packages
40
- uses : actions/cache@v3
41
- with :
42
- path : ~/.m2
43
- key : ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
44
- restore-keys : ${{ runner.os }}-m2
45
39
46
40
- name : Set up JDK 17
47
41
uses : actions/setup-java@v3
48
42
with :
49
43
distribution : ' zulu'
50
44
java-version : ' 17'
45
+ cache : ' maven'
51
46
52
47
- name : Set Common Sonar Variables
53
48
id : sonar_env
You can’t perform that action at this time.
0 commit comments