File tree 1 file changed +9
-31
lines changed
1 file changed +9
-31
lines changed Original file line number Diff line number Diff line change @@ -20,35 +20,13 @@ name: GitHub CI
20
20
on : [push, pull_request]
21
21
22
22
jobs :
23
- build :
24
-
25
- strategy :
26
- matrix :
27
- os : [ubuntu-latest,windows-latest, macOS-latest]
28
- java : [8, 11, 17]
29
- jdk : [temurin]
30
- fail-fast : false
31
-
32
- runs-on : ${{ matrix.os }}
33
-
34
- steps :
35
- - name : Checkout
36
- uses : actions/checkout@v3
37
23
38
- - name : Set up cache for ~./m2/repository
39
- uses : actions/cache@v3
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 }}-
46
-
47
- - name : Set up JDK
48
- uses : actions/setup-java@v3
49
- with :
50
- java-version : ${{ matrix.java }}
51
- distribution : ${{ matrix.jdk }}
52
-
53
- - name : Build with Maven
54
- run : mvn install javadoc:javadoc -e -B -V
24
+ build :
25
+ name : Build it
26
+ uses : codehaus-plexus/.github/.github/workflows/maven.yml@master
27
+ with :
28
+ jdk-fast-fail-build : ' 17'
29
+ jdk-matrix : ' ["8", "11", "17"]'
30
+ jdk-distribution-matrix : ' ["temurin"]'
31
+ os-matrix : ' ["ubuntu-latest","windows-latest", "macOS-latest"]'
32
+ maven_args : ' verify javadoc:javadoc -e -B -V -fae '
You can’t perform that action at this time.
0 commit comments