Skip to content

Merge remote-tracking branch 'origin/snyk-fix-65804d28a12555a0d0581de… #747

Merge remote-tracking branch 'origin/snyk-fix-65804d28a12555a0d0581de…

Merge remote-tracking branch 'origin/snyk-fix-65804d28a12555a0d0581de… #747

Workflow file for this run

name: Build
on: [push]
jobs:
build:
strategy:
matrix:
java: [ '8', '11', '17' ]
os: ['macos-latest', 'ubuntu-latest', 'windows-latest']
runs-on: ${{ matrix.os }}
name: Build with Java ${{ matrix.java }} on ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Setup java
uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: ${{ matrix.java }}
- name: Cache Maven packages
uses: actions/cache@v3
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-m2-
- name: Build with Maven
run: mvn --batch-mode install