File tree Expand file tree Collapse file tree 4 files changed +4
-25
lines changed Expand file tree Collapse file tree 4 files changed +4
-25
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@v4
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 32
32
with :
33
33
path : /tmp/.buildx-cache
34
34
key : ${{ runner.os }}-buildx-${{ hashFiles('**/Dockerfile') }}
35
- - name : Cache Maven packages
36
- if : ${{ steps.release.outputs.release_created }}
37
- uses : actions/cache@v4
38
- with :
39
- path : ~/.m2
40
- key : ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
41
- restore-keys : ${{ runner.os }}-m2
42
35
43
36
- name : Extract tag name
44
37
if : ${{ steps.release.outputs.release_created }}
53
46
with :
54
47
distribution : ' zulu'
55
48
java-version : ' 17'
49
+ cache : ' maven'
56
50
- name : Set up Docker Buildx
57
51
if : ${{ steps.release.outputs.release_created }}
58
52
id : buildx
Original file line number Diff line number Diff line change @@ -59,18 +59,13 @@ jobs:
59
59
path : ~/.sonar/cache
60
60
key : ${{ runner.os }}-sonar
61
61
restore-keys : ${{ runner.os }}-sonar
62
- - name : Cache Maven packages
63
- uses : actions/cache@v4
64
- with :
65
- path : ~/.m2
66
- key : ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
67
- restore-keys : ${{ runner.os }}-m2
68
62
69
63
- name : Set up JDK 17
70
64
uses : actions/setup-java@v4
71
65
with :
72
66
distribution : ' zulu'
73
67
java-version : ' 17'
68
+ cache : ' maven'
74
69
75
70
- name : Set Common Sonar Variables
76
71
id : sonar_env
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@v4
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@v4
48
42
with :
49
43
distribution : ' zulu'
50
44
java-version : ' 17'
45
+ cache : ' maven'
51
46
52
47
- name : Create custom Maven Settings.xml
53
48
uses : whelk-io/maven-settings-xml-action@v21
You can’t perform that action at this time.
0 commit comments