From 0fedb87671ecc450e7378713105ea1dc1d9d0c7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johan=20Andr=C3=A9n?= Date: Thu, 9 Nov 2023 14:07:21 +0100 Subject: [PATCH] build: Add JDK 21 to nightly CI build (#4338) --- .github/workflows/nightly.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 22c155dc95..1ee584c6e0 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -16,7 +16,7 @@ jobs: fail-fast: false matrix: SCALA_VERSION: [2.13, 3.3] - JDK_VERSION: ["1.11", "1.17"] + JDK_VERSION: ["1.11", "1.17", "1.21"] include: - JDK_VERSION: 1.11 JVM_NAME: temurin:1.11 @@ -24,6 +24,9 @@ jobs: - JDK_VERSION: 1.17 JVM_NAME: temurin:1.17 extraOpts: '' + - JDK_VERSION: 1.21 + JVM_NAME: temurin:1.21 + extraOpts: '' AKKA_VERSION: [main, default, snapshot] steps: @@ -36,9 +39,11 @@ jobs: uses: coursier/cache-action@v6.4.0 - name: Set up JDK ${{ matrix.JDK_VERSION }} - uses: coursier/setup-action@v1.3.0 + uses: coursier/setup-action@v1.3.4 with: jvm: ${{ matrix.JVM_NAME }} + # FIXME default index not giving us access to JDK 21 (yet) + jvm-index: https://raw.githubusercontent.com/coursier/jvm-index/32d659500e6c65efb9eee91718a0fb0e797ad4ee/index.json - name: Cache Build Target uses: actions/cache@v3.0.11