Skip to content

Merge pull request #141 from alexconlin/patch-1 #60

Merge pull request #141 from alexconlin/patch-1

Merge pull request #141 from alexconlin/patch-1 #60

Workflow file for this run

name: Build and test
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java: [ 8, 11 ]
name: Java ${{ matrix.java }} build
steps:
- uses: actions/checkout@v2
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
- run: echo "M2_HOME=$(dirname $(dirname `which mvn`))" >> $GITHUB_ENV
- run: git config --global user.email "[email protected]"
- run: git config --global user.name "Test user"
- name: Build with Maven on JDK ${{ matrix.java }}
run: mvn --batch-mode --update-snapshots verify