ci: Keep Android build tools consistent with build.gradle

Signed-off-by: utzcoz <utzcoz@outlook.com>
This commit is contained in:
utzcoz 2022-03-16 22:40:53 +08:00 committed by Ryan Pavlik
parent 0557eb205d
commit 7df31ea159

View file

@ -7,8 +7,8 @@
set -eo pipefail set -eo pipefail
VERSION=7583922 VERSION=7583922
ROOT=${ROOT:-/opt/android-sdk} ROOT=${ROOT:-/opt/android-sdk}
ANDROID_COMPILE_SDK=${ANDROID_COMPILE_SDK:-31} ANDROID_COMPILE_SDK=${ANDROID_COMPILE_SDK:-30}
ANDROID_BUILD_TOOLS=${ANDROID_BUILD_TOOLS:-31.0.0} ANDROID_BUILD_TOOLS=${ANDROID_BUILD_TOOLS:-30.0.3}
mkdir -p "$ROOT" mkdir -p "$ROOT"
FN=commandlinetools-linux-${VERSION}_latest.zip FN=commandlinetools-linux-${VERSION}_latest.zip