|
16 | 16 | # under the License.
|
17 | 17 |
|
18 | 18 | name: GitHub CI
|
19 |
| - |
20 |
| -on: [push, pull_request] |
| 19 | +on: |
| 20 | + push: |
| 21 | + pull_request: |
21 | 22 |
|
22 | 23 | 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 | 24 |
|
34 |
| - steps: |
35 |
| - - name: Checkout |
36 |
| - uses: actions/checkout@v3 |
37 |
| - |
38 |
| - |
39 |
| - - name: Set up JDK |
40 |
| - uses: actions/setup-java@v3 |
41 |
| - with: |
42 |
| - distribution: ${{ matrix.jdk }} |
43 |
| - java-version: ${{ matrix.java }} |
44 |
| - cache: 'maven' |
45 |
| - |
46 |
| - - name: Build with Maven |
47 |
| - run: mvn install javadoc:javadoc -e -B -V |
| 25 | + build: |
| 26 | + name: Build it |
| 27 | + uses: codehaus-plexus/.github/.github/workflows/maven.yml@master |
| 28 | + with: |
| 29 | + jdk-fast-fail-build: '11' |
| 30 | + jdk-matrix: '["11", "17", "18", "19-ea"]' |
| 31 | + jdk-distribution-matrix: '["zulu", "temurin", "microsoft", "liberica","corretto"]' |
| 32 | + os-matrix: '["ubuntu-latest","windows-latest", "macOS-latest"]' |
| 33 | + matrix-exclude: '[ |
| 34 | + { "jdk": "18", "distribution": "microsoft" }, |
| 35 | + { "jdk": "19-ea", "distribution": "corretto" }, |
| 36 | + { "jdk": "19-ea", "distribution": "liberica" }, |
| 37 | + { "jdk": "19-ea", "distribution": "microsoft" }, |
| 38 | + { "jdk": "19-ea", "distribution": "temurin" } |
| 39 | + ]' |
| 40 | + maven_args: 'install javadoc:javadoc -e -B -V -fae -Pno-tests-if-not-on-osx' |
0 commit comments