Hi
I have been trying to replace the ‘25’ in the following circle.yml file with an environment variable I’ve defined called ANDROID_PLATFORM:
cache_directories: - /usr/local/android-sdk-linux/platforms/android-25
However, the following doesn’t work, and neither does it with quotes nor without the braces
cache_directories: - /usr/local/android-sdk-linux/platforms/android-${ANDROID_PLATFORM}
The environment variable definitely works as it’s working fine elsewhere, e.g. in dependencies:
- if [ ! -d "/usr/local/android-sdk-linux/platforms/android-$ANDROID_PLATFORM" ]; then echo y | android update sdk --no-ui --all --filter "android-$ANDROID_PLATFORM"; fi