File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,19 +18,25 @@ jobs:
1818 steps :
1919 - uses : actions/checkout@v2
2020
21- - name : Install Maven 3.8.x (instead of 3.9.x)
22- run : |
23- MAVEN_VERSION=3.8.9
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-
21+ # - name: Install Maven 3.8.x (instead of 3.9.x)
22+ # run: |
23+ # MAVEN_VERSION=3.8.9
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+
30+ # - name: Setup java
31+ # uses: actions/setup-java@v1
32+ # with:
33+ # java-version: ${{ matrix.java }}
3034 - name : Setup java
31- uses : actions/setup-java@v1
35+ uses : actions/setup-java@v4
3236 with :
3337 java-version : ${{ matrix.java }}
38+ distribution : ' zulu'
39+ cache : ' maven'
3440
3541 - name : Cache Maven packages
3642 uses : actions/cache@v4
You can’t perform that action at this time.
0 commit comments