File tree 1 file changed +15
-1
lines changed
1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -11,24 +11,38 @@ jobs:
11
11
runs-on : ubuntu-latest
12
12
13
13
strategy :
14
+ fail-fast : false
14
15
matrix :
15
16
java : [7, 8, 11]
16
17
17
18
steps :
18
19
- uses : actions/checkout@v2
20
+
21
+ - name : Install Maven 3.8.x (instead of 3.9.x)
22
+ run : |
23
+ MAVEN_VERSION=3.8.8
24
+ wget https://downloads.apache.org/maven/maven-3/$MAVEN_VERSION/binaries/apache-maven-$MAVEN_VERSION-bin.tar.gz
25
+ tar xzvf apache-maven-$MAVEN_VERSION-bin.tar.gz
26
+ sudo mv apache-maven-$MAVEN_VERSION /opt/maven
27
+ sudo rm -f /usr/bin/mvn # Remove existing symbolic link if it exists
28
+ sudo ln -s /opt/maven/bin/mvn /usr/bin/mvn # Create new symbolic link
29
+
19
30
- name : Setup java
20
31
uses : actions/setup-java@v1
21
32
with :
22
33
java-version : ${{ matrix.java }}
34
+
23
35
- name : Cache Maven packages
24
- uses : actions/cache@v2
36
+ uses : actions/cache@v4
25
37
with :
26
38
path : ~/.m2
27
39
key : ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
28
40
restore-keys : ${{ runner.os }}-m2
41
+
29
42
- name : Setup Node.js
30
43
uses : actions/setup-node@v1
31
44
with :
32
45
node-version : 14.x
46
+
33
47
- name : Run the Maven verify phase
34
48
run : mvn verify -Dgpg.skip=true
You can’t perform that action at this time.
0 commit comments