2021-10-03 14:57:47 +00:00
|
|
|
name: Java17-Maven-Build
|
2021-08-26 12:01:20 +00:00
|
|
|
|
|
|
|
on: [push]
|
|
|
|
|
|
|
|
jobs:
|
2021-10-03 14:57:47 +00:00
|
|
|
build-java-17:
|
2021-08-26 12:01:20 +00:00
|
|
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
# Checkout the code
|
2022-06-05 15:29:29 +00:00
|
|
|
- uses: actions/checkout@v3
|
2021-08-26 12:01:20 +00:00
|
|
|
|
|
|
|
# Java 16 Builds
|
2021-10-03 14:57:47 +00:00
|
|
|
- name: Set up JDK 17
|
2023-04-22 13:50:42 +00:00
|
|
|
uses: actions/setup-java@v3.11.0
|
2021-08-26 12:01:20 +00:00
|
|
|
with:
|
2021-10-03 14:57:47 +00:00
|
|
|
java-version: 17
|
2021-08-26 12:01:20 +00:00
|
|
|
distribution: 'adopt'
|
|
|
|
- name: Build with Maven
|
|
|
|
run: mvn -B package --file pom.xml
|