2020-07-11 15:08:38 +01:00
|
|
|
name: maven-build
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: '*'
|
|
|
|
pull_request:
|
|
|
|
branches: '*'
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
|
|
matrix:
|
2021-08-06 10:42:50 +01:00
|
|
|
java: [ 11, 16, 17-ea ]
|
2020-07-11 15:08:38 +01:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: setup-jdk-${{ matrix.java }}
|
2021-08-06 10:42:50 +01:00
|
|
|
uses: actions/setup-java@v2.1.0
|
2020-07-11 15:08:38 +01:00
|
|
|
with:
|
2021-08-06 10:42:50 +01:00
|
|
|
distribution: adopt
|
2020-07-11 15:08:38 +01:00
|
|
|
java-version: ${{ matrix.java }}
|
|
|
|
- name: build-jar
|
|
|
|
run: mvn -B install
|
2021-08-06 10:42:50 +01:00
|
|
|
- name: verify javadoc
|
|
|
|
run: mvn -P release javadoc:javadoc
|