From 1a4e7c9a394b4d69844a6673f2d7b863b2d12c2a Mon Sep 17 00:00:00 2001 From: Amab Date: Sat, 15 Apr 2023 11:37:45 +0200 Subject: [PATCH] Fix cache paths --- .drone.yml | 6 ++++-- tools/android-env.sh | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index 3064edb..d2f4ee2 100644 --- a/.drone.yml +++ b/.drone.yml @@ -12,7 +12,8 @@ steps: archive_format: "gzip" # filesystem_cache_root: "/tmp/cache" mount: - - 'vendor' + - '/opt/android-sdk-linux' + - '/var/cache/apt/archives/' volumes: - name: cache path: /tmp/cache @@ -38,7 +39,8 @@ steps: archive_format: "gzip" # filesystem_cache_root: "/tmp/cache" mount: - - 'vendor' + - '/opt/android-sdk-linux' + - '/var/cache/apt/archives/' volumes: - name: cache path: /tmp/cache diff --git a/tools/android-env.sh b/tools/android-env.sh index 7ed5fb0..90a4531 100644 --- a/tools/android-env.sh +++ b/tools/android-env.sh @@ -8,7 +8,7 @@ export ANDROID_SDK=${ANDROID_HOME} export PATH=${PATH}:${ANDROID_HOME}/cmdline-tools/latest/bin export PATH=${PATH}:${ANDROID_HOME}/cmdline-tools/tools/bin export PATH=${PATH}:${ANDROID_HOME}/tools/bin -export PATH=${PATH}:${ANDROID_HOME}/build-tools/33.0.0 +export PATH=${PATH}:${ANDROID_HOME}/build-tools/33.0.2 export PATH=${PATH}:${ANDROID_HOME}/platform-tools export PATH=${PATH}:${ANDROID_HOME}/emulator export PATH=${PATH}:${ANDROID_HOME}/bin @@ -26,7 +26,7 @@ function help() { figlet "usage:" echo "update_sdk: Updates the SDK" echo "andep: Installs one or more android Packets." - echo " -Example: anddep \"platforms;android-26\"" + echo " -Example: anddep \"platforms;android-33\"" echo "help: Shows this help" echo '' echo ''