Skip to content

Merge pull request #59 from orbinson/feature/upgrade-to-java-17-build #88

Merge pull request #59 from orbinson/feature/upgrade-to-java-17-build

Merge pull request #59 from orbinson/feature/upgrade-to-java-17-build #88

Workflow file for this run

name: Build
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Java
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: 17
- name: Cache local Maven repository
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Build
run: mvn --batch-mode --update-snapshots install