From 91d6a0508e0e2baf546c5b7626ef732d3f408e7b Mon Sep 17 00:00:00 2001 From: Super12138 <70494801+Super12138@users.noreply.github.com> Date: Thu, 20 Mar 2025 21:06:12 +0800 Subject: [PATCH] =?UTF-8?q?fix(ci):=20=E5=B0=9D=E8=AF=95=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E7=AD=BE=E5=90=8D=E9=94=99=E8=AF=AF=E7=9A=84=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 | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/android_ci.yml b/.github/workflows/android_ci.yml index 20eeb20..8810939 100644 --- a/.github/workflows/android_ci.yml +++ b/.github/workflows/android_ci.yml @@ -23,6 +23,9 @@ 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' - name: Grant execute permission for gradlew run: chmod +x gradlew @@ -38,14 +41,11 @@ jobs: echo ${{ secrets.SIGNING_KEY }} | base64 --decode > ${{ github.workspace }}/key.jks fi - - name: Cache NDK - uses: actions/cache@v4.2.3 - with: - path: ${ANDROID_HOME}/ndk/27.0.12077973 - key: ndk-cache - - - name: Install NDK - run: echo "y" | sudo ${ANDROID_HOME}/cmdline-tools/latest/bin/sdkmanager --install 'ndk;27.0.12077973' + # - name: Cache NDK + # uses: actions/cache@v4.2.3 + # with: + # path: ${ANDROID_HOME}/ndk/27.0.12077973 + # key: ndk-cache - name: Build with Gradle run: ./gradlew assembleRelease