Create maven.yml

This commit is contained in:
Jamie O'Meara 2021-05-11 15:56:13 -06:00 committed by GitHub
parent 1b90d59a71
commit 5f81e5087e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

22
.github/workflows/maven.yml vendored Normal file
View file

@ -0,0 +1,22 @@
# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
name: build
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java-version: [ 8, 11, 15 ]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: ${{ matrix.java-version }}
- run: mvn -B install --no-transfer-progress --file pom.xml