diff options
| author | Menny Even Danan <menny@evendanan.net> | 2020-06-22 13:29:08 +0000 |
|---|---|---|
| committer | Menny Even Danan <menny@evendanan.net> | 2020-06-22 13:29:08 +0000 |
| commit | 3b2169e01f0b417024f90e144424d780f25c6a1c (patch) | |
| tree | bbdb9804c6679aa614805f940f2e57d5b9bfcd63 /.github/workflows | |
| parent | 3e0f5e98103b53b553fecec65c2f4db458f17d5f (diff) | |
| download | AnySoftKeyboard-3b2169e01f0b417024f90e144424d780f25c6a1c.tar.gz AnySoftKeyboard-3b2169e01f0b417024f90e144424d780f25c6a1c.tar.bz2 | |
Fix path to sdkmanager
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/third_party_update.yml | 4 |
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 |
