Skip to content

Update baseline to Java 21 #415

Update baseline to Java 21

Update baseline to Java 21 #415

Workflow file for this run

name: JDK21 Build and Test
on: [ push, pull_request ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup timezone
uses: zcong1993/setup-timezone@f28e5fb1ca95077c81b67be53bcd1923de2175ed
with:
timezone: Europe/London
- name: Set up JDK 21
uses: actions/setup-java@v2
with:
java-version: 21
distribution: zulu
# Step that does that actual cache save and restore
- uses: actions/cache@v1
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Build with Maven
run: mvn -T3 -B test --file pom.xml
- name: Publish Test Report
if: ${{ always() }}
uses: scacap/action-surefire-report@v1