Merge pull request #11 from msgilligan/msgilligan-github-maven.yml-action

Add maven.yml GitHub Actions workflow
This commit is contained in:
Eduardo Ramos 2022-12-12 17:02:09 +01:00 committed by GitHub
commit d8d83ea449
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 25 additions and 0 deletions

25
.github/workflows/maven.yml vendored Normal file
View File

@ -0,0 +1,25 @@
name: Maven JVM Build
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macOS-12, windows-latest]
java: ['11', '17']
distribution: ['temurin']
fail-fast: false
name: ${{ matrix.os }} JDK ${{ matrix.distribution }} ${{ matrix.java }}
steps:
- name: Git checkout
uses: actions/checkout@v3
- name: Set up JDK
id: setupjdk
uses: actions/setup-java@v3
with:
distribution: ${{ matrix.distribution }}
java-version: ${{ matrix.java }}
- name: Build with Maven
run: mvn verify