aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/third_party_update.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/third_party_update.yml b/.github/workflows/third_party_update.yml
index ac427ccd2..3a4e35e59 100644
--- a/.github/workflows/third_party_update.yml
+++ b/.github/workflows/third_party_update.yml
@@ -100,12 +100,12 @@ jobs:
run: ./scripts/ci/ci_setup.sh
- name: update-to-latest-build-tools
run: |
- LATEST_VERSION=$("${ANDROID_HOME}/tools/bin/sdkmanager" --list | grep -o "build-tools;${GREP_VERSION_CLASSES}" | grep -o "${GREP_VERSION_CLASSES}" | uniq | tail -n 1)
+ LATEST_VERSION=$("${ANDROID_HOME}/cmdline-tools/tools/bin/sdkmanager" --list | grep -o "build-tools;${GREP_VERSION_CLASSES}" | grep -o "${GREP_VERSION_CLASSES}" | uniq | tail -n 1)
echo "Found version '${LATEST_VERSION}'."
sed "s/androidBuildTools[[:space:]]=[[:space:]]'${GREP_VERSION_CLASSES}'/androidBuildTools = '${LATEST_VERSION}'/g" gradle/root_all_projects_ext.gradle > /tmp/output.file
cp /tmp/output.file gradle/root_all_projects_ext.gradle
cat gradle/root_all_projects_ext.gradle
- yes | "${ANDROID_HOME}/tools/bin/sdkmanager" "build-tools;${LATEST_VERSION}"
+ yes | "${ANDROID_HOME}/cmdline-tools/tools/bin/sdkmanager" "build-tools;${LATEST_VERSION}"
- name: Sanity verification
run: ./gradlew :api:assembleDebug :api:lintDebug
- name: Add changed gradle files