From cc1296a4f3ee3ddba558e94dda5e0dae1d5a3b4c Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 7 Aug 2026 02:35:57 +0000 Subject: [PATCH 1/2] Initial plan From 662403974f8153800a5813a2549039dfec5fa8f7 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 7 Aug 2026 02:37:10 +0000 Subject: [PATCH 2/2] Normalize EA setup-java version output in verify-java.sh Co-authored-by: brunoborges <129743+brunoborges@users.noreply.github.com> --- __tests__/verify-java.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/__tests__/verify-java.sh b/__tests__/verify-java.sh index 1453d0ba7..b7904f248 100755 --- a/__tests__/verify-java.sh +++ b/__tests__/verify-java.sh @@ -35,6 +35,9 @@ fi if [ -n "$SETUP_JAVA_VERSION" ]; then OUTPUT_JAVA_VERSION=$(echo "$SETUP_JAVA_VERSION" | cut -d'+' -f1) + if [[ $OUTPUT_JAVA_VERSION == *-ea* ]]; then + OUTPUT_JAVA_VERSION=$(echo "$OUTPUT_JAVA_VERSION" | cut -d'-' -f1 | cut -d'.' -f1) + fi OUTPUT_GREP_RESULT=$(echo "$ACTUAL_JAVA_VERSION" | grep -E "^(openjdk|java) version \"$OUTPUT_JAVA_VERSION") if [ -z "$OUTPUT_GREP_RESULT" ]; then echo "::error::The version output does not match the installed Java version"