Skip to content

Add Java 21 build

Add Java 21 build #10

Workflow file for this run

# Build validation
name: Build
on:
push:
branches-ignore:
- master
- experimental/**
pull_request:
branches-ignore:
- master
- experimental/**
workflow_dispatch:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
java: [11, 17, 21]
os: [ubuntu-latest]
distribution: [temurin]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup JDK
uses: actions/setup-java@v3
with:
distribution: ${{ matrix.distribution }}
java-version: ${{ matrix.java }}
cache: maven
- name: Build and verify
run: ./mvnw -s ./.maven-settings.xml -Pcontinuous-integration -B -U clean verify