2020-07-11 12:05:50 +01:00
|
|
|
name: maven-build
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: '*'
|
|
|
|
pull_request:
|
|
|
|
branches: '*'
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
|
|
matrix:
|
2021-07-04 15:39:35 +01:00
|
|
|
java: [ 11, 16, 17-ea ]
|
2020-07-11 12:05:50 +01:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: setup-jdk-${{ matrix.java }}
|
2021-08-24 10:11:57 +01:00
|
|
|
uses: actions/setup-java@v2.3.0
|
2020-07-11 12:05:50 +01:00
|
|
|
with:
|
2021-06-30 08:51:44 +01:00
|
|
|
distribution: 'adopt'
|
2020-07-11 12:05:50 +01:00
|
|
|
java-version: ${{ matrix.java }}
|
2021-08-24 10:11:57 +01:00
|
|
|
cache: maven
|
2020-07-11 12:05:50 +01:00
|
|
|
- name: build-jar
|
|
|
|
run: mvn -B install
|