2024-07-22 00:58:41 +01:00

12 lines
352 B
Bash
Executable File

#!/bin/bash
set -e
if [[ "$TARGET_JDK" == "arm" ]]; then
git clone --depth 1 https://github.com/openjdk/aarch32-port-jdk8u openjdk
elif [[ "$BUILD_IOS" == "1" ]]; then
git clone --depth 1 https://github.com/corretto/corretto-8 openjdk
else
# Use aarch32 repo because it also has aarch64
git clone --depth 1 https://github.com/openjdk/jdk8u openjdk
fi