From e9c80330af3ee3b00b222e0bea44ddcf9477ae78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jose=20Alc=C3=A9rreca?= Date: Mon, 20 Jan 2025 15:53:05 +0000 Subject: [PATCH] Removes hardcoded version of cmdline-tools Change-Id: I7d5bbaeef396ebd425137ad03419efe26ccf6a4b --- .github/workflows/Build.yaml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/Build.yaml b/.github/workflows/Build.yaml index ac7897fa9..44aaa50a6 100644 --- a/.github/workflows/Build.yaml +++ b/.github/workflows/Build.yaml @@ -292,15 +292,13 @@ jobs: # TODO this workflow needs cmdline-tools 13.0 (for pixel_fold). Remove when not necessary. - name: Setup Android SDK uses: android-actions/setup-android@v3 - with: - cmdline-tools-version: 11479570 - # android-emulator-runner uses /latest - - name: Replace cmdlinetools and set path - run: | - rm -rf ${{ env.ANDROID_HOME}}/cmdline-tools/latest - mv ${{ env.ANDROID_HOME}}/cmdline-tools/11479570 ${{ env.ANDROID_HOME}}/cmdline-tools/latest - echo ${{ env.ANDROID_HOME}}/cmdline-tools/latest/bin >> $GITHUB_PATH +# # android-emulator-runner uses /latest +# - name: Replace cmdlinetools and set path +# run: | +# rm -rf ${{ env.ANDROID_HOME}}/cmdline-tools/latest +# mv ${{ env.ANDROID_HOME}}/cmdline-tools/11479570 ${{ env.ANDROID_HOME}}/cmdline-tools/latest +# echo ${{ env.ANDROID_HOME}}/cmdline-tools/latest/bin >> $GITHUB_PATH # https://github.com/ReactiveCircus/android-emulator-runner/issues/197 - name: Create directory for AVD