From dcc577fb3989aaf477055ebec3536abf4ef6a013 Mon Sep 17 00:00:00 2001 From: gxz Date: Tue, 15 Oct 2024 18:08:48 +0800 Subject: [PATCH] chore: optimize --- .github/workflows/build.yml | 2 +- .github/workflows/ci.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4ae62c96..f006d6c4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -46,7 +46,7 @@ jobs: - 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/latest/bin/sdkmanager --licenses > /dev/null" - name: Cache Gradle if: env.turbo_cache_hit != 1 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dac7a80c..67bf9f7c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -104,7 +104,7 @@ jobs: - 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/latest/bin/sdkmanager --licenses > /dev/null" - name: Cache Gradle if: env.turbo_cache_hit != 1