File tree 1 file changed +6
-5
lines changed
1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -20,23 +20,24 @@ jobs:
20
20
fail-fast : false
21
21
matrix :
22
22
os : [ubuntu-latest, windows-latest ]
23
- java : ['1. 8', '11']
23
+ java : ['8', '11']
24
24
25
25
steps :
26
- - uses : actions/checkout@v2
27
- - uses : actions/cache@v1
26
+ - uses : actions/checkout@v4
27
+ - uses : actions/cache@v4
28
28
with :
29
29
path : ~/.m2/repository
30
30
key : ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
31
31
restore-keys : |
32
32
${{ runner.os }}-maven-
33
33
- name : Set up JDK ${{ matrix.java }}
34
- uses : actions/setup-java@v1
34
+ uses : actions/setup-java@v3
35
35
with :
36
36
java-version : ${{ matrix.java }}
37
+ distribution : ' temurin'
37
38
- name : Build with Maven Java ${{ matrix.java }}
38
39
run : mvn -s .m2-settings.xml -B -fae clean install
39
- - uses : actions/upload-artifact@v2
40
+ - uses : actions/upload-artifact@v4
40
41
if : failure()
41
42
with :
42
43
name : surefire-reports-${{ matrix.os }}-${{ matrix.java }}
You can’t perform that action at this time.
0 commit comments