From 53ee7a51ef87b8d5b78c1325c3abc7fbbb5d43f0 Mon Sep 17 00:00:00 2001 From: gxz Date: Tue, 15 Oct 2024 18:01:02 +0800 Subject: [PATCH] chore: optimize --- .github/workflows/build.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4ae62c96..e3dc7d7c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -43,10 +43,15 @@ jobs: distribution: 'zulu' java-version: '11' + - name: Setup Android SDK + uses: android-actions/setup-android@v3 + with: + cmdline-tools-version: 10406996 + - name: Finalize Android SDK if: env.turbo_cache_hit != 1 run: | - /bin/bash -c "yes | $ANDROID_HOME/cmdline-tools/11.0/bin/sdkmanager --licenses > /dev/null" + /bin/bash -c "yes | $ANDROID_HOME/cmdline-tools/10406996/bin/sdkmanager --licenses > /dev/null" - name: Cache Gradle if: env.turbo_cache_hit != 1