From d7c3b667f554ba5324783d18f26aff45fb56b9e0 Mon Sep 17 00:00:00 2001 From: Super12138 <70494801+Super12138@users.noreply.github.com> Date: Thu, 20 Mar 2025 21:47:29 +0800 Subject: [PATCH] =?UTF-8?q?fix(ci):=20=E5=B0=9D=E8=AF=95=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E8=B0=83=E8=AF=95=E8=AF=81=E4=B9=A6=E7=94=9F=E6=88=90=E6=9D=83?= =?UTF-8?q?=E9=99=90=E6=9D=83=E9=99=90=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/android_ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/android_ci.yml b/.github/workflows/android_ci.yml index 8810939..5bcf8d4 100644 --- a/.github/workflows/android_ci.yml +++ b/.github/workflows/android_ci.yml @@ -23,7 +23,7 @@ jobs: java-version: '21' distribution: 'temurin' cache: gradle - + - name: Install NDK 27.0.12077973 run: echo "y" | sudo ${ANDROID_HOME}/cmdline-tools/latest/bin/sdkmanager --install 'ndk;27.0.12077973' @@ -47,6 +47,10 @@ jobs: # path: ${ANDROID_HOME}/ndk/27.0.12077973 # key: ndk-cache + - name: Fix Permissions for Debug Keystore Path + if: github.ref != 'refs/heads/main' + run: sudo chmod -R 777 /home/runner/.config/.android + - name: Build with Gradle run: ./gradlew assembleRelease