2020-12-01 19:35:11 +00:00
|
|
|
name: Maven-Build
|
2019-11-28 04:47:28 +00:00
|
|
|
|
|
|
|
on: [push]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
2021-06-24 20:21:39 +00:00
|
|
|
# Java 11 Builds
|
2019-11-28 04:47:28 +00:00
|
|
|
- uses: actions/checkout@v1
|
2021-06-24 20:21:39 +00:00
|
|
|
- name: Set up JDK 11
|
2021-08-17 19:50:03 +00:00
|
|
|
uses: actions/setup-java@v2.2.0
|
2019-11-28 04:47:28 +00:00
|
|
|
with:
|
2021-03-06 19:28:38 +00:00
|
|
|
java-version: 11
|
2021-08-17 19:50:03 +00:00
|
|
|
distribution: 'adopt'
|
2019-11-28 04:47:28 +00:00
|
|
|
- name: Build with Maven
|
|
|
|
run: mvn -B package --file pom.xml
|
2021-06-24 20:21:39 +00:00
|
|
|
|
|
|
|
# Java 16 Builds
|
|
|
|
- uses: actions/checkout@v1
|
|
|
|
- name: Set up JDK 16
|
2021-08-17 19:50:03 +00:00
|
|
|
uses: actions/setup-java@v2.2.0
|
2021-06-24 20:21:39 +00:00
|
|
|
with:
|
|
|
|
java-version: 16
|
2021-08-17 19:50:03 +00:00
|
|
|
distribution: 'adopt'
|
2021-06-24 20:21:39 +00:00
|
|
|
- name: Build with Maven
|
|
|
|
run: mvn -B package --file pom.xml
|