mon/.github/workflows/build-maven.yml
Paul Campbell 74b3ea92b0
Fix javadoc (#218)
* github/workflow/build: verify javadoc

* github/workflow/deploy: only publish javadoc after successful deploy to sonatype

* result: fix javadoc

* result: fix javadoc (jdk 16 flagged)
2021-08-05 08:07:02 +01:00

25 lines
521 B
YAML

name: maven-build
on:
push:
branches: '*'
pull_request:
branches: '*'
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java: [ 11, 16 ]
steps:
- uses: actions/checkout@v2
- name: setup-jdk-${{ matrix.java }}
uses: actions/setup-java@v2.1.0
with:
distribution: 'adopt'
java-version: ${{ matrix.java }}
- name: build-jar
run: mvn -B install
- name: verify javadoc
run: mvn -P release javadoc:javadoc