Skip to content

Commit

Permalink
Bump NDK for GH to match AOSP
Browse files Browse the repository at this point in the history
Taken from https://cs.android.com/androidx/platform/frameworks/support/+/androidx-main:settings.gradle;l=87

Test: GH Workflows
Change-Id: I726b0aadfdcf86014bdb699268ba4f3dd0817688
  • Loading branch information
dlam committed Aug 13, 2024
1 parent 5ba0446 commit 21c994d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/actions/build-single-project/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ runs:
run: echo "yes" | $ANDROID_SDK_ROOT/cmdline-tools/latest/bin/sdkmanager --install "cmake;3.22.1"
- name: "Install NDK"
shell: bash
run: echo "yes" | $ANDROID_SDK_ROOT/cmdline-tools/latest/bin/sdkmanager --install "ndk;23.1.7779620"
run: |
NDK_VERSION=$(grep "ndkVersion" settings.gradle | awk -F "=" '{gsub(/"| /, ""); print $2}')
echo "yes" | $ANDROID_SDK_ROOT/cmdline-tools/latest/bin/sdkmanager --install "ndk;$NDK_VERSION"
- name: "Install Android SDK Build-Tools"
shell: bash
run: echo "yes" | $ANDROID_SDK_ROOT/cmdline-tools/latest/bin/sdkmanager --install "build-tools;35.0.0-rc1"
Expand Down

0 comments on commit 21c994d

Please sign in to comment.