Create java16-maven.yml

This commit is contained in:
Ryan 2021-08-26 13:01:20 +01:00 committed by GitHub
parent d70b7bbec2
commit f45466ee24
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 21 additions and 0 deletions

21
.github/workflows/java16-maven.yml vendored Normal file
View File

@ -0,0 +1,21 @@
name: Java16-Maven-Build
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
# Checkout the code
- uses: actions/checkout@v1
# Java 16 Builds
- name: Set up JDK 16
uses: actions/setup-java@v2.2.0
with:
java-version: 16
distribution: 'adopt'
- name: Build with Maven
run: mvn -B package --file pom.xml