File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -11,24 +11,38 @@ jobs:
1111 runs-on : ubuntu-latest
1212
1313 strategy :
14+ fail-fast : false
1415 matrix :
1516 java : [7, 8, 11]
1617
1718 steps :
1819 - 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+
1930 - name : Setup java
2031 uses : actions/setup-java@v1
2132 with :
2233 java-version : ${{ matrix.java }}
34+
2335 - name : Cache Maven packages
24- uses : actions/cache@v2
36+ uses : actions/cache@v4
2537 with :
2638 path : ~/.m2
2739 key : ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
2840 restore-keys : ${{ runner.os }}-m2
41+
2942 - name : Setup Node.js
3043 uses : actions/setup-node@v1
3144 with :
3245 node-version : 14.x
46+
3347 - name : Run the Maven verify phase
3448 run : mvn verify -Dgpg.skip=true
You can’t perform that action at this time.
0 commit comments