File tree Expand file tree Collapse file tree 1 file changed +4
-12
lines changed Expand file tree Collapse file tree 1 file changed +4
-12
lines changed Original file line number Diff line number Diff line change @@ -25,30 +25,22 @@ jobs:
25
25
strategy :
26
26
matrix :
27
27
os : [ubuntu-latest]
28
- java : [8, 11, 17-ea ]
28
+ java : [8, 11, 17]
29
29
jdk : [temurin]
30
30
fail-fast : false
31
31
32
32
runs-on : ${{ matrix.os }}
33
33
34
34
steps :
35
35
- name : Checkout
36
- uses : actions/checkout@v2.4.0
37
-
38
- - name : Set up cache for ~./m2/repository
39
- uses : actions/cache@v2.1.7
40
- with :
41
- path : ~/.m2/repository
42
- key : maven-${{ matrix.os }}-java${{ matrix.java }}-${{ hashFiles('**/pom.xml') }}
43
- restore-keys : |
44
- maven-${{ matrix.os }}-java${{ matrix.java }}-
45
- maven-${{ matrix.os }}-
36
+ uses : actions/checkout@v2
46
37
47
38
- name : Set up JDK
48
- uses : actions/setup-java@v2.5.0
39
+ uses : actions/setup-java@v2
49
40
with :
50
41
java-version : ${{ matrix.java }}
51
42
distribution : ${{ matrix.jdk }}
43
+ cache : ' maven'
52
44
53
45
- name : Build with Maven
54
46
run : mvn install -e -B -V
You can’t perform that action at this time.
0 commit comments