Skip to content

Add Java 21 to test matrix #88

Add Java 21 to test matrix

Add Java 21 to test matrix #88

Workflow file for this run

name: Gradle Build
on:
pull_request:
push:
branches:
- master
workflow_dispatch:
jobs:
gradle:
strategy:
matrix:
os: [ ubuntu-latest, windows-latest ]
jdk: [ 8, 11, 17, 21 ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: ${{ matrix.jdk }}
- uses: gradle/gradle-build-action@v2
- name: Build
run: ./gradlew build "-Pme.champeau.japicmp.javaToolchain.test=${{ matrix.jdk }}"