From 4bef7ddf002f59f4b7c76ce8e9c37db32a47b161 Mon Sep 17 00:00:00 2001 From: linzyt223 <145648429+linzyt223@users.noreply.github.com> Date: Tue, 24 Sep 2024 19:03:52 +0800 Subject: [PATCH] Update android.yml --- .github/workflows/android.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 78a4b23..0fed653 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -37,13 +37,13 @@ jobs: # Accept licenses - yes | sdkmanager --licenses + yes | /usr/local/android-sdk/cmdline-tools/bin/sdkmanager --licenses # Install build tools (includes zipalign) - sdkmanager "build-tools;30.0.3" + /usr/local/android-sdk/cmdline-tools/bin/sdkmanager/sdkmanager "build-tools;30.0.3" # Add build tools path to environment - echo "export PATH=\$PATH:/usr/local/android-sdk/build-tools/30.0.3" >> $GITHUB_ENV + echo "export PATH=$PATH:/usr/local/android-sdk/build-tools/30.0.3" >> $GITHUB_ENV - name: Grant execute permission for gradlew run: chmod +x gradlew