File tree 1 file changed +8
-17
lines changed
1 file changed +8
-17
lines changed Original file line number Diff line number Diff line change @@ -16,26 +16,21 @@ jobs:
16
16
runs-on : ubuntu-latest
17
17
18
18
steps :
19
- - uses : actions/checkout@v2
19
+ - uses : actions/checkout@v3
20
20
with :
21
21
fetch-depth : 0
22
22
- name : Set up JDK 11
23
- uses : actions/setup-java@v2
23
+ uses : actions/setup-java@v3
24
24
with :
25
25
distribution : ' temurin'
26
26
java-version : ' 11'
27
27
cache : ' gradle'
28
28
- name : Cache SonarCloud packages
29
- uses : actions/cache@v1
29
+ uses : actions/cache@v3
30
30
with :
31
31
path : ~/.sonar/cache
32
32
key : ${{ runner.os }}-sonar
33
33
restore-keys : ${{ runner.os }}-sonar
34
- - uses : actions/cache@v1
35
- with :
36
- path : ~/.gradle/caches
37
- key : ${{ runner.os }}-gradle
38
- restore-keys : ${{ runner.os }}-gradle
39
34
- name : Build with Gradle
40
35
env :
41
36
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
@@ -68,18 +63,14 @@ jobs:
68
63
name : Build
69
64
runs-on : ubuntu-latest
70
65
steps :
71
- - uses : actions/checkout@v2
66
+ - uses : actions/checkout@v3
72
67
with :
73
68
fetch-depth : 0
74
69
- name : Set up JDK 11
75
- uses : actions/setup-java@v1
76
- with :
77
- java-version : 11
78
- - name : Cache Maven packages
79
- uses : actions/cache@v1
70
+ uses : actions/setup-java@v3
80
71
with :
81
- path : ~/.m2
82
- key : ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
83
- restore-keys : ${{ runner.os }}-m2
72
+ distribution : ' temurin '
73
+ java-version : ' 11 '
74
+ cache : ' maven '
84
75
- name : Build and analyze
85
76
run : mvn -B compile
You can’t perform that action at this time.
0 commit comments