2eb3dc97f8
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.1.0. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2...v3.1.0) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
24 lines
482 B
YAML
24 lines
482 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@v3.1.0
|
|
- 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
|