Merge pull request #2 from octodemo/omearaj-patch-2

Create maven.yml
This commit is contained in:
Jamie O'Meara 2021-05-11 16:52:58 -06:00 committed by GitHub
commit 6f5dd6b6ba
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