Create java16-maven.yml
This commit is contained in:
parent
d70b7bbec2
commit
f45466ee24
|
@ -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
|
Loading…
Reference in New Issue