Fix cache paths
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details

This commit is contained in:
Amab 2023-04-15 11:37:45 +02:00
parent 101796d46c
commit 1a4e7c9a39
2 changed files with 6 additions and 4 deletions

View File

@ -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

View File

@ -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 ''