mon/.github/workflows/build-maven.yml
dependabot[bot] 33869a7c26
Bump actions/setup-java from 2.1.0 to 2.2.0 (#220)
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 2.1.0 to 2.2.0.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v2.1.0...v2.2.0)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Paul Campbell <pcampbell@kemitix.net>
2021-08-19 13:41:56 +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.2.0
with:
distribution: 'adopt'
java-version: ${{ matrix.java }}
- name: build-jar
run: mvn -B install
- name: verify javadoc
run: mvn -P release javadoc:javadoc