From 661f777358aac99f65ebde1508690b319afc89d5 Mon Sep 17 00:00:00 2001 From: Kaituo Li Date: Wed, 19 Jun 2024 12:34:47 -0700 Subject: [PATCH] Update Frontend CI to Use JDK 21 This PR updates the frontend CI configuration to set up JDK 21, aligning with the baseline JDK 21 already set on the backend (https://github.com/opensearch-project/anomaly-detection/pull/1228). Without this update, remote tests in CI would fail with the error: "error: release version 21 not supported." Testing: * Verified that remote tests in CI pass successfully with JDK 21. Signed-off-by: Kaituo Li --- .github/workflows/remote-integ-tests-workflow.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/remote-integ-tests-workflow.yml b/.github/workflows/remote-integ-tests-workflow.yml index c0ee017b..05b96d1f 100644 --- a/.github/workflows/remote-integ-tests-workflow.yml +++ b/.github/workflows/remote-integ-tests-workflow.yml @@ -17,7 +17,7 @@ jobs: fail-fast: false matrix: os: [ ubuntu-latest ] - jdk: [ 11 ] + jdk: [ 21 ] runs-on: ${{ matrix.os }} steps: