Commit 7e5d70bf authored by Mark's avatar Mark
Browse files

ci: update openjdk versions; monkey with non-working jenv

parent a940d6a8
export JENV_ROOT=$HOME/.jenv
if [[ $(echo $PATH | grep -c .jenv) -eq 0 ]]; then
export PATH="$HOME/.jenv/bin:$PATH"
export PATH="$JENV_ROOT/bin:$PATH"
fi
eval "$(jenv init -)"
eval "$(jenv enable-plugin export)"
......@@ -17,24 +17,24 @@ function determine_adoptjdk() {
Darwin)
case $jdk in
openjdk8)
topdir=jdk8u232-b09
dist="https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u232-b09/OpenJDK8U-jdk_x64_mac_hotspot_8u232b09.tar.gz"
topdir=jdk8u242-b08
dist="https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u242-b08/OpenJDK8U-jdk_x64_mac_hotspot_8u242b08.tar.gz"
;;
openjdk11)
topdir=jdk-11.0.5+10
dist="https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.5%2B10/OpenJDK11U-jdk_x64_mac_hotspot_11.0.5_10.tar.gz"
topdir=jdk-11.0.6+10
dist="https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.6%2B10/OpenJDK11U-jdk_x64_mac_hotspot_11.0.6_10.tar.gz"
;;
esac
;;
Linux)
case $jdk in
openjdk8)
topdir=jdk8u232-b09
dist="https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/${topdir}/OpenJDK8U-jdk_x64_linux_hotspot_8u232b09.tar.gz"
topdir=jdk8u242-b08
dist="https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u242-b08/OpenJDK8U-jdk_x64_linux_hotspot_8u242b08.tar.gz"
;;
openjdk11)
topdir=jdk-11.0.5+10
dist="https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.5%2B10/OpenJDK11U-jdk_x64_linux_hotspot_11.0.5_10.tar.gz"
topdir=jdk-11.0.6+10
dist="https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.6%2B10/OpenJDK11U-jdk_x64_linux_hotspot_11.0.6_10.tar.gz"
;;
esac
;;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment