diff --git a/.github/scripts/extract_matrix.py b/.github/scripts/extract_matrix.py index 00c9683c12..cd82a92ffa 100644 --- a/.github/scripts/extract_matrix.py +++ b/.github/scripts/extract_matrix.py @@ -77,7 +77,7 @@ ) DOWNLOADS_LINKS = { - "GRADLE_JAVA_HOME": "https://download.oracle.com/java/{major_version}/latest/jdk-{major_version}_{os}-{arch_short}_bin{ext}", + "GRADLE_JAVA_HOME": "https://download.oracle.com/java/{major_version}/archive/jdk-{version}_{os}-{arch_short}_bin{ext}", "ECLIPSE": "https://www.eclipse.org/downloads/download.php?file=/eclipse/downloads/drops4/R-4.26-202211231800/eclipse-SDK-4.26-linux-gtk-x86_64.tar.gz" } @@ -234,6 +234,7 @@ def get_download_link(self, key: str, version: str) -> str: vars = { "major_version": major_version, + "version": version, "os": os, "arch": arch, "arch_short": arch_short,