File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 push :
55
66jobs :
7- generate-models :
7+ android-sdk-test :
88 runs-on : ubuntu-latest
99 env :
1010 NDK_VERSION : ' 28.0.13004108'
@@ -20,17 +20,18 @@ jobs:
2020 distribution : ' temurin'
2121 java-version : 17
2222
23+ # Ubuntu latest image doesn't have the exact version of the NDK that we need.
24+ # So we install it manually and cache.
25+ # https://github.com/actions/runner-images/blob/84b177af1632c67d56338e7c706fbee966b6e24e/images/ubuntu/Ubuntu2404-Readme.md?plain=1#L239
2326 - name : Cache NDK
2427 id : cache-ndk
2528 uses : actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
2629 with :
2730 path : /usr/local/lib/android/sdk/ndk/${{ env.NDK_VERSION }}
2831 key : android-ndk-${{ env.NDK_VERSION }}
2932
30- - name : Setup Android SDK
31- run : |
32- yes | ${ANDROID_HOME}/cmdline-tools/latest/bin/sdkmanager --licenses
33- ${ANDROID_HOME}/cmdline-tools/latest/bin/sdkmanager "ndk;${{ env.NDK_VERSION }}"
33+ - name : Setup Android NDK
34+ run : ${ANDROID_HOME}/cmdline-tools/latest/bin/sdkmanager "ndk;${{ env.NDK_VERSION }}"
3435
3536 - name : Clone RUM schema
3637 run : ./gradlew cloneAllRumSchemas
You can’t perform that action at this time.
0 commit comments