File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : android-sdk
2+
3+ on :
4+ push :
5+
6+ jobs :
7+ android-sdk-test :
8+ runs-on : ubuntu-latest
9+ env :
10+ NDK_VERSION : ' 28.0.13004108'
11+ steps :
12+ - uses : actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
13+ with :
14+ repository : ' DataDog/dd-sdk-android'
15+ ref : aleksandr-gringauz/RUM-12387/pass-ref-from-gradle-properties
16+
17+ - name : Setup Java
18+ uses : actions/setup-java@f2beeb24e141e01a676f977032f5a29d81c9e27e # v5.1.0
19+ with :
20+ distribution : ' temurin'
21+ java-version : 17
22+ cache : ' gradle'
23+
24+ # Ubuntu latest image doesn't have the exact version of the NDK that we need.
25+ # So we install it manually and cache.
26+ # https://github.com/actions/runner-images/blob/84b177af1632c67d56338e7c706fbee966b6e24e/images/ubuntu/Ubuntu2404-Readme.md?plain=1#L239
27+ - name : Cache NDK
28+ id : cache-ndk
29+ uses : actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
30+ with :
31+ path : /usr/local/lib/android/sdk/ndk/${{ env.NDK_VERSION }}
32+ key : android-ndk-${{ env.NDK_VERSION }}
33+
34+ - name : Setup Android NDK
35+ run : ${ANDROID_HOME}/cmdline-tools/latest/bin/sdkmanager "ndk;${{ env.NDK_VERSION }}"
36+
37+ - name : Clone RUM schema
38+ run : ./gradlew cloneAllRumSchemas -Pdd.rum.schema.ref="${{ github.ref_name }}"
39+
40+ - name : Generate JSON models
41+ run : ./gradlew generateAllJsonModels
You can’t perform that action at this time.
0 commit comments