From 2a0d824ced47de218ce74b6e45a552ea4e1c499f Mon Sep 17 00:00:00 2001 From: Sean Gilligan Date: Fri, 9 Dec 2022 16:59:56 -0800 Subject: [PATCH] Add maven.yml GitHub Actions workflow --- .github/workflows/maven.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/maven.yml diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml new file mode 100644 index 0000000..ddeff7e --- /dev/null +++ b/.github/workflows/maven.yml @@ -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