f9249405a5
* Bump actions/setup-java from 2.1.0 to 2.3.0 Bumps [actions/setup-java](https://github.com/actions/setup-java) from 2.1.0 to 2.3.0. - [Release notes](https://github.com/actions/setup-java/releases) - [Commits](https://github.com/actions/setup-java/compare/v2.1.0...v2.3.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> * Update build-maven.yml * Update deploy-sonatype.yml Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Paul Campbell <pcampbell@kemitix.net>
24 lines
478 B
YAML
24 lines
478 B
YAML
name: maven-build
|
|
|
|
on:
|
|
push:
|
|
branches: '*'
|
|
pull_request:
|
|
branches: '*'
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
java: [ 11, 16, 17-ea ]
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: setup-jdk-${{ matrix.java }}
|
|
uses: actions/setup-java@v2.3.0
|
|
with:
|
|
distribution: 'adopt'
|
|
java-version: ${{ matrix.java }}
|
|
cache: maven
|
|
- name: build-jar
|
|
run: mvn -B install
|