Skip to content

ci: add Java 21

ci: add Java 21 #25

Workflow file for this run

name: CI
on:
push:
pull_request:
workflow_dispatch:
permissions: {}
jobs:
build:
name: Java ${{ matrix.java }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
java: [8, 11, 17, 21]
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Java
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: ${{ matrix.java }}
- name: Build with Maven
run: mvn -B package -f pom.xml