Skip to content

NO-JIRA: update GHA job to use JDK21 now that Temurin 21 is out #85

NO-JIRA: update GHA job to use JDK21 now that Temurin 21 is out

NO-JIRA: update GHA job to use JDK21 now that Temurin 21 is out #85

Workflow file for this run

name: "Build"
on: [push, pull_request, workflow_dispatch]
jobs:
build:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
java: [ 8, 11, 17, 21 ]
steps:
- uses: actions/checkout@v3
- uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Install JDK ${{ matrix.java }}
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java }}
distribution: 'temurin'
- name: Build
run: mvn -B clean verify