Skip to content

Require Java 11 to build (#221) #151

Require Java 11 to build (#221)

Require Java 11 to build (#221) #151

Workflow file for this run

name: Java CI
on: [ push ]
jobs:
build:
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.experimental }}
strategy:
matrix:
os: [ ubuntu-latest , windows-latest ]
java: [ 11,17 ]
experimental: [ false ]
steps:
- uses: actions/checkout@v4.1.1
- uses: actions/cache@v4.0.0
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v4.0.0
with:
java-version: ${{ matrix.java }}
distribution: adopt
- name: Build with mvn
run: |
mvn clean install