Improve Error Handling for Setup-Java Action to Help Debug Intermittent Failures (#848)
Some checks failed
Validate Java e2e / zulu version from file 'openjdk64-17.0.10' - ubuntu-latest (push) Successful in 17s
Licensed / Licensed (push) Has been cancelled
Basic validation / Basic validation (push) Has been cancelled
Check dist/ / Check dist/ (push) Has been cancelled
CodeQL analysis / CodeQL analysis (push) Has been cancelled
Validate cache with cache-dependency-path option / gradle1-save (macos-latest) (push) Has been cancelled
Validate cache with cache-dependency-path option / gradle1-save (windows-latest) (push) Has been cancelled
Validate cache with cache-dependency-path option / gradle1-restore (macos-latest) (push) Has been cancelled
Validate cache with cache-dependency-path option / gradle1-restore (ubuntu-latest) (push) Has been cancelled
Validate cache with cache-dependency-path option / gradle1-restore (windows-latest) (push) Has been cancelled
Validate cache with cache-dependency-path option / gradle2-restore (macos-latest) (push) Has been cancelled
Validate cache with cache-dependency-path option / gradle2-restore (ubuntu-latest) (push) Has been cancelled
Validate cache with cache-dependency-path option / gradle2-restore (windows-latest) (push) Has been cancelled
Validate cache / gradle-save (macos-13) (push) Has been cancelled
Validate cache / gradle-save (windows-latest) (push) Has been cancelled
Validate cache / gradle-restore (macos-13) (push) Has been cancelled
Validate cache / gradle-restore (ubuntu-latest) (push) Has been cancelled
Validate cache / gradle-restore (windows-latest) (push) Has been cancelled
Validate cache / maven-save (macos-13) (push) Has been cancelled
Validate cache / maven-save (windows-latest) (push) Has been cancelled
Validate cache / maven-restore (macos-13) (push) Has been cancelled
Validate cache / maven-restore (ubuntu-latest) (push) Has been cancelled
Validate cache / maven-restore (windows-latest) (push) Has been cancelled
Validate cache / sbt-save (macos-13) (push) Has been cancelled
Validate cache / sbt-save (windows-latest) (push) Has been cancelled
Validate cache / sbt-restore (macos-13) (push) Has been cancelled
Validate cache / sbt-restore (ubuntu-22.04) (push) Has been cancelled
Validate cache / sbt-restore (windows-latest) (push) Has been cancelled
Validate Java e2e / adopt 11 (jdk-x64) - macos-13 (push) Has been cancelled
Validate Java e2e / semeru 11 (jdk-x64) - macos-13 (push) Has been cancelled
Validate Java e2e / semeru 17 (jdk-x64) - macos-13 (push) Has been cancelled
Validate Java e2e / adopt 17 (jdk-x64) - macos-13 (push) Has been cancelled
Validate Java e2e / adopt 21 (jdk-x64) - macos-13 (push) Has been cancelled
Validate Java e2e / adopt 11 (jdk-x64) - windows-latest (push) Has been cancelled
Validate Java e2e / adopt 17 (jdk-x64) - windows-latest (push) Has been cancelled
Validate Java e2e / adopt 21 (jdk-x64) - windows-latest (push) Has been cancelled
Validate Java e2e / adopt-openj9 11 (jdk-x64) - macos-13 (push) Has been cancelled
Validate Java e2e / adopt-openj9 17 (jdk-x64) - macos-13 (push) Has been cancelled
Validate Java e2e / adopt-openj9 21 (jdk-x64) - macos-13 (push) Has been cancelled
Validate Java e2e / adopt-openj9 11 (jdk-x64) - windows-latest (push) Has been cancelled
Validate Java e2e / adopt-openj9 17 (jdk-x64) - windows-latest (push) Has been cancelled
Validate Java e2e / adopt-openj9 21 (jdk-x64) - windows-latest (push) Has been cancelled
Validate Java e2e / corretto 11 (jdk-x64) - macos-13 (push) Has been cancelled
Validate Java e2e / corretto 17 (jdk-x64) - macos-13 (push) Has been cancelled
Validate Java e2e / corretto 21 (jdk-x64) - macos-13 (push) Has been cancelled
Validate Java e2e / corretto 11 (jdk-x64) - windows-latest (push) Has been cancelled
Validate Java e2e / corretto 17 (jdk-x64) - windows-latest (push) Has been cancelled
Validate Java e2e / corretto 21 (jdk-x64) - windows-latest (push) Has been cancelled
Validate Java e2e / dragonwell 11 (jdk-x64) - windows-latest (push) Has been cancelled
Validate Java e2e / dragonwell 17 (jdk-x64) - windows-latest (push) Has been cancelled
Validate Java e2e / dragonwell 21 (jdk-x64) - windows-latest (push) Has been cancelled
Validate Java e2e / graalvm 17.0.12 (jdk-x64) - macos-latest (push) Has been cancelled
Validate Java e2e / graalvm 21 (jdk-x64) - windows-latest (push) Has been cancelled
Validate Java e2e / jetbrains 11 (jdk-x64) - macos-13 (push) Has been cancelled
Validate Java e2e / jetbrains 17 (jdk-x64) - macos-13 (push) Has been cancelled
Validate Java e2e / jetbrains 21 (jdk-x64) - macos-13 (push) Has been cancelled
Validate Java e2e / jetbrains 11 (jdk-x64) - windows-latest (push) Has been cancelled
Validate Java e2e / jetbrains 17 (jdk-x64) - windows-latest (push) Has been cancelled
Validate Java e2e / jetbrains 21 (jdk-x64) - windows-latest (push) Has been cancelled
Validate Java e2e / liberica 11 (jdk-x64) - macos-13 (push) Has been cancelled
Validate Java e2e / liberica 17 (jdk-x64) - macos-13 (push) Has been cancelled
Validate Java e2e / liberica 21 (jdk-x64) - macos-13 (push) Has been cancelled
Validate Java e2e / liberica 11 (jdk-x64) - windows-latest (push) Has been cancelled
Validate Java e2e / liberica 17 (jdk-x64) - windows-latest (push) Has been cancelled
Validate Java e2e / liberica 21 (jdk-x64) - windows-latest (push) Has been cancelled
Validate Java e2e / microsoft 11 (jdk-x64) - macos-13 (push) Has been cancelled
Validate Java e2e / microsoft 17 (jdk-x64) - macos-13 (push) Has been cancelled
Validate Java e2e / microsoft 21 (jdk-x64) - macos-13 (push) Has been cancelled
Validate Java e2e / microsoft 11 (jdk-x64) - windows-latest (push) Has been cancelled
Validate Java e2e / microsoft 17 (jdk-x64) - windows-latest (push) Has been cancelled
Validate Java e2e / microsoft 21 (jdk-x64) - windows-latest (push) Has been cancelled
Validate Java e2e / oracle 17 (jdk-x64) - macos-13 (push) Has been cancelled
Validate Java e2e / oracle 21 (jdk-x64) - windows-latest (push) Has been cancelled
Validate Java e2e / sapmachine 11 (jdk-x64) - macos-13 (push) Has been cancelled
Validate Java e2e / sapmachine 17 (jdk-x64) - macos-13 (push) Has been cancelled
Validate Java e2e / sapmachine 21 (jdk-x64) - macos-13 (push) Has been cancelled
Validate Java e2e / sapmachine 11 (jdk-x64) - windows-latest (push) Has been cancelled
Validate Java e2e / sapmachine 17 (jdk-x64) - windows-latest (push) Has been cancelled
Validate Java e2e / sapmachine 21 (jdk-x64) - windows-latest (push) Has been cancelled
Validate Java e2e / zulu 17 (jdk-x64) - windows-latest (push) Has been cancelled
Validate Java e2e / zulu 21 (jdk-x64) - windows-latest (push) Has been cancelled
Validate Java e2e / semeru 21 (jdk-x64) - macos-13 (push) Has been cancelled
Validate Java e2e / semeru 11 (jdk-x64) - windows-latest (push) Has been cancelled
Validate Java e2e / semeru 17 (jdk-x64) - windows-latest (push) Has been cancelled
Validate Java e2e / semeru 21 (jdk-x64) - windows-latest (push) Has been cancelled
Validate Java e2e / temurin 11 (jdk-x64) - macos-13 (push) Has been cancelled
Validate Java e2e / temurin 17 (jdk-x64) - macos-13 (push) Has been cancelled
Validate Java e2e / temurin 21 (jdk-x64) - macos-13 (push) Has been cancelled
Validate Java e2e / temurin 11 (jdk-x64) - windows-latest (push) Has been cancelled
Validate Java e2e / temurin 17 (jdk-x64) - windows-latest (push) Has been cancelled
Validate Java e2e / temurin 21 (jdk-x64) - windows-latest (push) Has been cancelled
Validate Java e2e / zulu 11 (jdk-x64) - macos-13 (push) Has been cancelled
Validate Java e2e / zulu 17 (jdk-x64) - macos-13 (push) Has been cancelled
Validate Java e2e / zulu 21 (jdk-x64) - macos-13 (push) Has been cancelled
Validate Java e2e / zulu 11 (jdk-x64) - windows-latest (push) Has been cancelled
Validate Java e2e / zulu 17.0.7+7 (jdk-x64) - windows-latest (push) Has been cancelled
Validate Java e2e / zulu 21.0 (jdk-x64) - windows-latest (push) Has been cancelled
Validate Java e2e / dragonwell - check-latest flag - ubuntu-latest (push) Has been cancelled
Validate Java e2e / dragonwell - check-latest flag - windows-latest (push) Has been cancelled
Validate Java e2e / jetbrains - check-latest flag - macos-latest (push) Has been cancelled
Validate Java e2e / dragonwell 11.0 (jdk-x64) - ubuntu-latest (push) Has been cancelled
Validate Java e2e / dragonwell 11.0.13+9 (jdk-x64) - ubuntu-latest (push) Has been cancelled
Validate Java e2e / graalvm 21.0.4 (jdk-x64) - ubuntu-latest (push) Has been cancelled
Validate Java e2e / jetbrains 11.0.11 (jdk-x64) - ubuntu-latest (push) Has been cancelled
Validate Java e2e / jetbrains 17.0.7 (jdk-x64) - ubuntu-latest (push) Has been cancelled
Validate Java e2e / liberica 11.0 (jdk-x64) - macos-latest (push) Has been cancelled
Validate Java e2e / liberica 17.0.7+7 (jdk-x64) - macos-latest (push) Has been cancelled
Validate Java e2e / liberica 21.0 (jdk-x64) - macos-latest (push) Has been cancelled
Validate Java e2e / liberica 11.0 (jdk-x64) - ubuntu-latest (push) Has been cancelled
Validate Java e2e / liberica 17.0.7+7 (jdk-x64) - ubuntu-latest (push) Has been cancelled
Validate Java e2e / liberica 21.0 (jdk-x64) - ubuntu-latest (push) Has been cancelled
Validate Java e2e / liberica 11.0 (jdk-x64) - windows-latest (push) Has been cancelled
Validate Java e2e / liberica 17.0.7+7 (jdk-x64) - windows-latest (push) Has been cancelled
Validate Java e2e / liberica 21.0 (jdk-x64) - windows-latest (push) Has been cancelled
Validate Java e2e / oracle 21.0.4 (jdk-x64) - ubuntu-latest (push) Has been cancelled
Validate Java e2e / sapmachine 17.0.7 (jdk-x64) - ubuntu-latest (push) Has been cancelled
Validate Java e2e / temurin 11.0 (jdk-x64) - macos-latest (push) Has been cancelled
Validate Java e2e / temurin 17.0.7+7 (jdk-x64) - macos-latest (push) Has been cancelled
Validate Java e2e / temurin 21.0 (jdk-x64) - macos-latest (push) Has been cancelled
Validate Java e2e / temurin 11.0 (jdk-x64) - ubuntu-latest (push) Has been cancelled
Validate Java e2e / temurin 17.0.7+7 (jdk-x64) - ubuntu-latest (push) Has been cancelled
Validate Java e2e / temurin 21.0 (jdk-x64) - ubuntu-latest (push) Has been cancelled
Validate Java e2e / temurin 11.0 (jdk-x64) - windows-latest (push) Has been cancelled
Validate Java e2e / temurin 17.0.7+7 (jdk-x64) - windows-latest (push) Has been cancelled
Validate Java e2e / temurin 21.0 (jdk-x64) - windows-latest (push) Has been cancelled
Validate Java e2e / zulu 11.0 (jdk-x64) - macos-latest (push) Has been cancelled
Validate Java e2e / zulu 17.0.7+7 (jdk-x64) - macos-latest (push) Has been cancelled
Validate Java e2e / zulu 21.0 (jdk-x64) - macos-latest (push) Has been cancelled
Validate Java e2e / zulu 11.0 (jdk-x64) - ubuntu-latest (push) Has been cancelled
Validate Java e2e / zulu 17.0.7+7 (jdk-x64) - ubuntu-latest (push) Has been cancelled
Validate Java e2e / zulu 21.0 (jdk-x64) - ubuntu-latest (push) Has been cancelled
Validate Java e2e / zulu 11.0 (jdk-x64) - windows-latest (push) Has been cancelled
Validate Java e2e / jetbrains - multiple jdks - macos-latest (push) Has been cancelled
Validate Java e2e / jetbrains - multiple jdks - ubuntu-latest (push) Has been cancelled
Validate Java e2e / jetbrains - multiple jdks - windows-latest (push) Has been cancelled
Validate Java e2e / liberica - multiple jdks - macos-latest (push) Has been cancelled
Validate Java e2e / liberica - multiple jdks - ubuntu-latest (push) Has been cancelled
Validate Java e2e / liberica - multiple jdks - windows-latest (push) Has been cancelled
Validate Java e2e / sapmachine - multiple jdks - macos-latest (push) Has been cancelled
Validate Java e2e / sapmachine - multiple jdks - ubuntu-latest (push) Has been cancelled
Validate Java e2e / sapmachine - multiple jdks - windows-latest (push) Has been cancelled
Validate Java e2e / jetbrains - check-latest flag - ubuntu-latest (push) Has been cancelled
Validate Java e2e / jetbrains - check-latest flag - windows-latest (push) Has been cancelled
Validate Java e2e / liberica - check-latest flag - macos-latest (push) Has been cancelled
Validate Java e2e / liberica - check-latest flag - ubuntu-latest (push) Has been cancelled
Validate Java e2e / liberica - check-latest flag - windows-latest (push) Has been cancelled
Validate Java e2e / sapmachine - check-latest flag - macos-latest (push) Has been cancelled
Validate Java e2e / sapmachine - check-latest flag - ubuntu-latest (push) Has been cancelled
Validate Java e2e / sapmachine - check-latest flag - windows-latest (push) Has been cancelled
Validate Java e2e / temurin - check-latest flag - macos-latest (push) Has been cancelled
Validate Java e2e / temurin - check-latest flag - ubuntu-latest (push) Has been cancelled
Validate Java e2e / temurin - check-latest flag - windows-latest (push) Has been cancelled
Validate Java e2e / zulu - check-latest flag - macos-latest (push) Has been cancelled
Validate Java e2e / zulu - check-latest flag - ubuntu-latest (push) Has been cancelled
Validate Java e2e / zulu - check-latest flag - windows-latest (push) Has been cancelled
Validate Java e2e / dragonwell - multiple jdks - ubuntu-latest (push) Has been cancelled
Validate Java e2e / dragonwell - multiple jdks - windows-latest (push) Has been cancelled
Validate Java e2e / sapmachine 21-ea (jdk-x64) - windows-latest (push) Has been cancelled
Validate Java e2e / corretto 8 (jre-x64) - windows-latest (push) Has been cancelled
Validate Java e2e / jetbrains 17 (jdk+ft-x64) - ubuntu-latest (push) Has been cancelled
Validate Java e2e / jetbrains 21 (jdk+ft-x64) - ubuntu-latest (push) Has been cancelled
Validate Java e2e / temurin - multiple jdks - macos-latest (push) Has been cancelled
Validate Java e2e / temurin - multiple jdks - ubuntu-latest (push) Has been cancelled
Validate Java e2e / temurin - multiple jdks - windows-latest (push) Has been cancelled
Validate Java e2e / zulu - multiple jdks - macos-latest (push) Has been cancelled
Validate Java e2e / zulu - multiple jdks - ubuntu-latest (push) Has been cancelled
Validate Java e2e / zulu - multiple jdks - windows-latest (push) Has been cancelled
Validate Java e2e / zulu 15.0.0-ea.14 (jdk-x64) - macos-13 (push) Has been cancelled
Validate Java e2e / zulu 17-ea (jdk-x64) - macos-13 (push) Has been cancelled
Validate Java e2e / zulu 15.0.0-ea.14 (jdk-x64) - ubuntu-latest (push) Has been cancelled
Validate Java e2e / zulu 17-ea (jdk-x64) - ubuntu-latest (push) Has been cancelled
Validate Java e2e / zulu 15.0.0-ea.14 (jdk-x64) - windows-latest (push) Has been cancelled
Validate Java e2e / zulu 17-ea (jdk-x64) - windows-latest (push) Has been cancelled
Validate Java e2e / temurin 17-ea (jdk-x64) - macos-latest (push) Has been cancelled
Validate Java e2e / temurin 17-ea (jdk-x64) - ubuntu-latest (push) Has been cancelled
Validate Java e2e / temurin 17-ea (jdk-x64) - windows-latest (push) Has been cancelled
Validate Java e2e / sapmachine 17-ea (jdk-x64) - macos-latest (push) Has been cancelled
Validate Java e2e / sapmachine 21-ea (jdk-x64) - macos-latest (push) Has been cancelled
Validate Java e2e / sapmachine 17-ea (jdk-x64) - ubuntu-latest (push) Has been cancelled
Validate Java e2e / sapmachine 21-ea (jdk-x64) - ubuntu-latest (push) Has been cancelled
Validate Java e2e / sapmachine 17-ea (jdk-x64) - windows-latest (push) Has been cancelled
Validate Java e2e / jetbrains 11 (jdk+jcef-x64) - ubuntu-latest (push) Has been cancelled
Validate Java e2e / jetbrains 17 (jdk+jcef-x64) - ubuntu-latest (push) Has been cancelled
Validate Java e2e / jetbrains 21 (jdk+jcef-x64) - ubuntu-latest (push) Has been cancelled
Validate Java e2e / jetbrains 17 (jre+ft-x64) - ubuntu-latest (push) Has been cancelled
Validate Java e2e / jetbrains 21 (jre+ft-x64) - ubuntu-latest (push) Has been cancelled
Validate Java e2e / jetbrains 11 (jre+jcef-x64) - ubuntu-latest (push) Has been cancelled
Validate Java e2e / jetbrains 17 (jre+jcef-x64) - ubuntu-latest (push) Has been cancelled
Validate Java e2e / jetbrains 21 (jre+jcef-x64) - ubuntu-latest (push) Has been cancelled
Validate Java e2e / jetbrains 17.0 (jre-x64) - macos-13 (push) Has been cancelled
Validate Java e2e / jetbrains 17.0 (jre-x64) - ubuntu-latest (push) Has been cancelled
Validate Java e2e / jetbrains 17.0 (jre-x64) - windows-latest (push) Has been cancelled
Validate Java e2e / liberica 21 (jdk+fx-x64) - ubuntu-latest (push) Has been cancelled
Validate Java e2e / liberica 11 (jre+fx-x64) - ubuntu-latest (push) Has been cancelled
Validate Java e2e / liberica 17.0 (jre-x64) - macos-13 (push) Has been cancelled
Validate Java e2e / liberica 17.0 (jre-x64) - ubuntu-latest (push) Has been cancelled
Validate Java e2e / liberica 17.0 (jre-x64) - windows-latest (push) Has been cancelled
Validate Java e2e / sapmachine 17.0 (jre-x64) - macos-13 (push) Has been cancelled
Validate Java e2e / sapmachine 17.0 (jre-x64) - ubuntu-latest (push) Has been cancelled
Validate Java e2e / sapmachine 17.0 (jre-x64) - windows-latest (push) Has been cancelled
Validate Java e2e / semeru 17.0 (jre-x64) - macos-13 (push) Has been cancelled
Validate Java e2e / semeru 17.0 (jre-x64) - ubuntu-latest (push) Has been cancelled
Validate Java e2e / semeru 17.0 (jre-x64) - windows-latest (push) Has been cancelled
Validate Java e2e / temurin 17.0 (jre-x64) - macos-13 (push) Has been cancelled
Validate Java e2e / temurin 17.0 (jre-x64) - ubuntu-latest (push) Has been cancelled
Validate Java e2e / temurin 17.0 (jre-x64) - windows-latest (push) Has been cancelled
Validate Java e2e / zulu 21.0 (jdk+fx-x64) - ubuntu-latest (push) Has been cancelled
Validate Java e2e / zulu 21 (jre+fx-x64) - ubuntu-latest (push) Has been cancelled
Validate Java e2e / zulu 17.0 (jre-x64) - macos-13 (push) Has been cancelled
Validate Java e2e / zulu 17.0 (jre-x64) - ubuntu-latest (push) Has been cancelled
Validate Java e2e / zulu 17.0 (jre-x64) - windows-latest (push) Has been cancelled
Validate Java e2e / corretto 11 (jdk-) - ubuntu-22.04 (push) Has been cancelled
Validate Java e2e / corretto 11 (jdk-) - windows-latest (push) Has been cancelled
Validate Java e2e / liberica 11 (jdk-) - ubuntu-22.04 (push) Has been cancelled
Validate Java e2e / liberica 11 (jdk-) - windows-latest (push) Has been cancelled
Validate Java e2e / zulu 11 (jdk-) - ubuntu-22.04 (push) Has been cancelled
Validate Java e2e / zulu 11 (jdk-) - windows-latest (push) Has been cancelled
Validate Java e2e / corretto version (should be from input) - macos-latest (push) Has been cancelled
Validate Java e2e / corretto version (should be from input) - windows-latest (push) Has been cancelled
Validate Java e2e / microsoft version (should be from input) - macos-latest (push) Has been cancelled
Validate Java e2e / microsoft version (should be from input) - windows-latest (push) Has been cancelled
Validate Java e2e / temurin version (should be from input) - macos-latest (push) Has been cancelled
Validate Java e2e / temurin version (should be from input) - windows-latest (push) Has been cancelled
Validate Java e2e / corretto version from file X - macos-latest (push) Has been cancelled
Validate Java e2e / corretto version from file X - windows-latest (push) Has been cancelled
Validate Java e2e / liberica version from file X - macos-latest (push) Has been cancelled
Validate Java e2e / liberica version from file X - windows-latest (push) Has been cancelled
Validate Java e2e / microsoft version from file X - macos-latest (push) Has been cancelled
Validate Java e2e / microsoft version from file X - windows-latest (push) Has been cancelled
Validate Java e2e / temurin version from file X - macos-latest (push) Has been cancelled
Validate Java e2e / temurin version from file X - windows-latest (push) Has been cancelled
Validate Java e2e / zulu version from file X - macos-latest (push) Has been cancelled
Validate Java e2e / zulu version from file X - windows-latest (push) Has been cancelled
Validate Java e2e / adopt version from file X.Y.Z - macos-latest (push) Has been cancelled
Validate Java e2e / adopt version from file X.Y.Z - windows-latest (push) Has been cancelled
Validate Java e2e / adopt-openj9 version from file X.Y.Z - macos-latest (push) Has been cancelled
Validate Java e2e / adopt-openj9 version from file X.Y.Z - windows-latest (push) Has been cancelled
Validate Java e2e / zulu version from file X.Y.Z - macos-latest (push) Has been cancelled
Validate Java e2e / zulu version from file X.Y.Z - windows-latest (push) Has been cancelled
Validate Java e2e / adopt version from file 'openjdk64-17.0.10' - macos-latest (push) Has been cancelled
Validate Java e2e / adopt version from file 'openjdk64-17.0.10' - windows-latest (push) Has been cancelled
Validate Java e2e / liberica version from file 'openjdk64-17.0.10' - macos-latest (push) Has been cancelled
Validate Java e2e / liberica version from file 'openjdk64-17.0.10' - windows-latest (push) Has been cancelled
Validate Java e2e / zulu version from file 'openjdk64-17.0.10' - macos-latest (push) Has been cancelled
Validate Java e2e / zulu version from file 'openjdk64-17.0.10' - windows-latest (push) Has been cancelled
Validate local file / Validate installation from local file Eclipse Temurin (push) Failing after 11s
Validate local file / Validate installation from local file Adopt (push) Failing after 15s
Validate local file / Validate installation from local file Zulu (push) Failing after 12s
Validate cache with cache-dependency-path option / gradle1-save (ubuntu-latest) (push) Failing after 19s
Validate cache / gradle-save (ubuntu-latest) (push) Failing after 19s
Validate cache / maven-save (ubuntu-latest) (push) Failing after 17s
Validate cache / sbt-save (ubuntu-22.04) (push) Failing after 47s
Validate Java e2e / adopt 21 (jdk-x64) - ubuntu-latest (push) Successful in 20s
Validate Java e2e / adopt-openj9 11 (jdk-x64) - ubuntu-latest (push) Successful in 27s
Validate Java e2e / adopt-openj9 17 (jdk-x64) - ubuntu-latest (push) Successful in 35s
Validate Java e2e / corretto 11 (jdk-x64) - ubuntu-latest (push) Successful in 16s
Validate Java e2e / dragonwell 11 (jdk-x64) - ubuntu-latest (push) Successful in 30s
Validate Java e2e / dragonwell 21 (jdk-x64) - ubuntu-latest (push) Successful in 27s
Validate Java e2e / graalvm 21 (jdk-x64) - ubuntu-latest (push) Successful in 21s
Validate Java e2e / jetbrains 17 (jdk-x64) - ubuntu-latest (push) Failing after 11s
Validate Java e2e / liberica 11 (jdk-x64) - ubuntu-latest (push) Successful in 34s
Validate publishing functionality / Validate settings.xml (push) Failing after 17s
Validate publishing functionality / settings.xml is overwritten if flag is true (push) Failing after 11s
Validate publishing functionality / settings.xml is not overwritten if flag is false (push) Failing after 11s
Validate publishing functionality / settings.xml in custom location (push) Failing after 18s
Validate Java e2e / adopt 11 (jdk-x64) - ubuntu-latest (push) Successful in 18s
Validate Java e2e / adopt 17 (jdk-x64) - ubuntu-latest (push) Successful in 17s
Validate Java e2e / adopt-openj9 21 (jdk-x64) - ubuntu-latest (push) Successful in 26s
Validate Java e2e / corretto 17 (jdk-x64) - ubuntu-latest (push) Successful in 23s
Validate Java e2e / corretto 21 (jdk-x64) - ubuntu-latest (push) Successful in 23s
Validate Java e2e / dragonwell 17 (jdk-x64) - ubuntu-latest (push) Successful in 24s
Validate Java e2e / graalvm 24-ea (jdk-x64) - ubuntu-latest (push) Successful in 37s
Validate Java e2e / jetbrains 11 (jdk-x64) - ubuntu-latest (push) Failing after 12s
Validate Java e2e / jetbrains 21 (jdk-x64) - ubuntu-latest (push) Failing after 11s
Validate Java e2e / liberica 17 (jdk-x64) - ubuntu-latest (push) Successful in 24s
Validate Java e2e / microsoft 11 (jdk-x64) - ubuntu-latest (push) Successful in 42s
Validate Java e2e / liberica 21 (jdk-x64) - ubuntu-latest (push) Successful in 41s
Validate Java e2e / microsoft 17 (jdk-x64) - ubuntu-latest (push) Successful in 46s
Validate Java e2e / sapmachine 11 (jdk-x64) - ubuntu-latest (push) Successful in 35s
Validate Java e2e / sapmachine 17 (jdk-x64) - ubuntu-latest (push) Successful in 32s
Validate Java e2e / microsoft 21 (jdk-x64) - ubuntu-latest (push) Successful in 42s
Validate Java e2e / oracle 21 (jdk-x64) - ubuntu-latest (push) Successful in 22s
Validate Java e2e / sapmachine 21 (jdk-x64) - ubuntu-latest (push) Successful in 40s
Validate Java e2e / semeru 17 (jdk-x64) - ubuntu-latest (push) Successful in 32s
Validate Java e2e / temurin 17 (jdk-x64) - ubuntu-latest (push) Successful in 29s
Validate Java e2e / zulu 17 (jdk-x64) - ubuntu-latest (push) Successful in 19s
Validate Java e2e / semeru 11 (jdk-x64) - ubuntu-latest (push) Successful in 32s
Validate Java e2e / semeru 21 (jdk-x64) - ubuntu-latest (push) Successful in 30s
Validate Java e2e / temurin 11 (jdk-x64) - ubuntu-latest (push) Successful in 23s
Validate Java e2e / temurin 21 (jdk-x64) - ubuntu-latest (push) Successful in 29s
Validate Java e2e / zulu 11 (jdk-x64) - ubuntu-latest (push) Successful in 19s
Validate Java e2e / zulu 21 (jdk-x64) - ubuntu-latest (push) Successful in 19s
Validate Java e2e / liberica version from file X - ubuntu-latest (push) Successful in 18s
Validate Java e2e / microsoft version from file X - ubuntu-latest (push) Successful in 16s
Validate Java e2e / temurin version from file X - ubuntu-latest (push) Successful in 17s
Validate Java e2e / adopt-openj9 version from file X.Y.Z - ubuntu-latest (push) Successful in 20s
Validate Java e2e / corretto version (should be from input) - ubuntu-latest (push) Successful in 30s
Validate Java e2e / microsoft version (should be from input) - ubuntu-latest (push) Successful in 17s
Validate Java e2e / temurin version (should be from input) - ubuntu-latest (push) Successful in 23s
Validate Java e2e / corretto version from file X - ubuntu-latest (push) Successful in 19s
Validate Java e2e / zulu version from file X - ubuntu-latest (push) Successful in 30s
Validate Java e2e / adopt version from file X.Y.Z - ubuntu-latest (push) Successful in 17s
Validate Java e2e / zulu version from file X.Y.Z - ubuntu-latest (push) Successful in 16s
Validate Java e2e / liberica version from file 'openjdk64-17.0.10' - ubuntu-latest (push) Successful in 20s
Validate Java e2e / adopt version from file 'openjdk64-17.0.10' - ubuntu-latest (push) Successful in 33s

* error-handling

* Logic update

---------

Co-authored-by: “gowridurgad” <“hgowridurgad@github.com>
This commit is contained in:
gowridurgad 2025-06-23 23:02:03 +05:30 committed by GitHub
parent f4f1212c88
commit ebb356cc4e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 61 additions and 16 deletions

39
dist/setup/index.js vendored
View file

@ -128793,15 +128793,38 @@ class JavaBase {
}
else {
core.info('Trying to resolve the latest version from remote');
const javaRelease = yield this.findPackageForDownload(this.version);
core.info(`Resolved latest version as ${javaRelease.version}`);
if ((foundJava === null || foundJava === void 0 ? void 0 : foundJava.version) === javaRelease.version) {
core.info(`Resolved Java ${foundJava.version} from tool-cache`);
try {
const javaRelease = yield this.findPackageForDownload(this.version);
core.info(`Resolved latest version as ${javaRelease.version}`);
if ((foundJava === null || foundJava === void 0 ? void 0 : foundJava.version) === javaRelease.version) {
core.info(`Resolved Java ${foundJava.version} from tool-cache`);
}
else {
core.info('Trying to download...');
foundJava = yield this.downloadTool(javaRelease);
core.info(`Java ${foundJava.version} was downloaded`);
}
}
else {
core.info('Trying to download...');
foundJava = yield this.downloadTool(javaRelease);
core.info(`Java ${foundJava.version} was downloaded`);
catch (error) {
if (error instanceof tc.HTTPError) {
if (error.httpStatusCode === 403) {
core.error('HTTP 403: Permission denied or access restricted.');
}
else if (error.httpStatusCode === 429) {
core.warning('HTTP 429: Rate limit exceeded. Please retry later.');
}
else {
core.error(`HTTP ${error.httpStatusCode}: ${error.message}`);
}
}
else {
const message = error instanceof Error ? error.message : JSON.stringify(error);
core.error(`Java setup failed due to network issue or timeout: ${message}`);
}
if (error instanceof Error && error.stack) {
core.debug(error.stack);
}
throw error;
}
}
// JDK folder may contain postfix "Contents/Home" on macOS

View file

@ -51,14 +51,36 @@ export abstract class JavaBase {
core.info(`Resolved Java ${foundJava.version} from tool-cache`);
} else {
core.info('Trying to resolve the latest version from remote');
const javaRelease = await this.findPackageForDownload(this.version);
core.info(`Resolved latest version as ${javaRelease.version}`);
if (foundJava?.version === javaRelease.version) {
core.info(`Resolved Java ${foundJava.version} from tool-cache`);
} else {
core.info('Trying to download...');
foundJava = await this.downloadTool(javaRelease);
core.info(`Java ${foundJava.version} was downloaded`);
try {
const javaRelease = await this.findPackageForDownload(this.version);
core.info(`Resolved latest version as ${javaRelease.version}`);
if (foundJava?.version === javaRelease.version) {
core.info(`Resolved Java ${foundJava.version} from tool-cache`);
} else {
core.info('Trying to download...');
foundJava = await this.downloadTool(javaRelease);
core.info(`Java ${foundJava.version} was downloaded`);
}
} catch (error: any) {
if (error instanceof tc.HTTPError) {
if (error.httpStatusCode === 403) {
core.error('HTTP 403: Permission denied or access restricted.');
} else if (error.httpStatusCode === 429) {
core.warning('HTTP 429: Rate limit exceeded. Please retry later.');
} else {
core.error(`HTTP ${error.httpStatusCode}: ${error.message}`);
}
} else {
const message =
error instanceof Error ? error.message : JSON.stringify(error);
core.error(
`Java setup failed due to network issue or timeout: ${message}`
);
}
if (error instanceof Error && error.stack) {
core.debug(error.stack);
}
throw error;
}
}