From 4136bca4a0cca91f782cdccfe7200f00b4edd396 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jose=20Alc=C3=A9rreca?= Date: Sat, 25 May 2024 09:50:45 +0000 Subject: [PATCH] Replacing cmdline-tools/latest Change-Id: I1d4039c9dc4e840fd75f4bf2214f07688bdd6f48 --- .github/workflows/Build.yaml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/Build.yaml b/.github/workflows/Build.yaml index 9c8ee1db0..9548a0f80 100644 --- a/.github/workflows/Build.yaml +++ b/.github/workflows/Build.yaml @@ -295,10 +295,9 @@ jobs: with: cmdline-tools-version: 11479570 - - name: Download build-tools;35.0.0-rc4 + - name: Replace cmdlinetools run: | - sdkmanager --install "build-tools;35.0.0-rc4" - sdkmanager --list_installed + mv ${{ env.ANDROID_HOME}}/cmdline-tools/11479570 ${{ env.ANDROID_HOME}}/cmdline-tools/latest - name: Print debug run: avdmanager list @@ -330,6 +329,14 @@ jobs: ; echo "Done recording new screenshots, exiting with failure" ; exit 5 + - name: Print debug avdmanager list + run: avdmanager list + + - name: Print debug sdkmanager + run: | + sdkmanager --version + which sdkmanager + - name: Prevent pushing new screenshots if this is a fork id: checkfork_screenshots_instrumented continue-on-error: false