File tree Expand file tree Collapse file tree 1 file changed +9
-15
lines changed
Expand file tree Collapse file tree 1 file changed +9
-15
lines changed Original file line number Diff line number Diff line change @@ -34,40 +34,34 @@ jobs:
3434 timeout-minutes : 60
3535 runs-on : ubuntu-latest
3636 steps :
37- - uses : actions/checkout@v2
38- - name : Set up JDK 11
39- uses : actions/setup-java@v1
37+ - uses : actions/checkout@v4
38+ - name : Set up JDK 17
39+ uses : actions/setup-java@v4
4040 with :
41- java-version : 11
42- - name : Cache local maven repository
43- uses : actions/cache@v2
44- with :
45- path : |
46- ~/.m2/repository/
47- !~/.m2/repository/org/apache/fluo
48- key : ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
49- restore-keys : ${{ runner.os }}-m2
41+ distribution : adopt
42+ java-version : 17
43+ cache : ' maven'
5044 - name : Build with Maven
5145 run : mvn -B -V -e -ntp "-Dstyle.color=always" -DskipITs verify javadoc:jar
5246 env :
5347 MAVEN_OPTS : -Djansi.force=true
5448 - name : Upload unit test results
5549 if : ${{ failure() }}
56- uses : actions/upload-artifact@v2
50+ uses : actions/upload-artifact@v4
5751 with :
5852 name : surefire-reports
5953 path : ./**/target/surefire-reports/
6054 if-no-files-found : ignore
6155 - name : Upload integration test results
6256 if : ${{ failure() }}
63- uses : actions/upload-artifact@v2
57+ uses : actions/upload-artifact@v4
6458 with :
6559 name : failsafe-reports
6660 path : ./**/target/failsafe-reports/
6761 if-no-files-found : ignore
6862 - name : Upload mini test logs
6963 if : ${{ failure() }}
70- uses : actions/upload-artifact@v2
64+ uses : actions/upload-artifact@v4
7165 with :
7266 name : mini-tests-logs
7367 path : ./**/target/**/mini-tests/**/logs/
You can’t perform that action at this time.
0 commit comments