From d41baec79549848573e26c4cfd12f9c4ac33bda0 Mon Sep 17 00:00:00 2001 From: Super12138 <70494801+Super12138@users.noreply.github.com> Date: Wed, 19 Mar 2025 22:18:47 +0800 Subject: [PATCH] =?UTF-8?q?feat(ci):=20=E5=B0=9D=E8=AF=95=E5=AE=89?= =?UTF-8?q?=E8=A3=85=20NDK=20=E4=BB=A5=E5=87=8F=E5=B0=8F=20APK=20=E4=BD=93?= =?UTF-8?q?=E7=A7=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 顺便支持过滤掉一些不必触发工作流的文件 --- .github/workflows/android_ci.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/android_ci.yml b/.github/workflows/android_ci.yml index 83fd557..58338d3 100644 --- a/.github/workflows/android_ci.yml +++ b/.github/workflows/android_ci.yml @@ -1,9 +1,11 @@ name: Android CI on: push: - branches: [ "main", "compose-refactor" ] + branches: [ "main" ] + paths-ignore: [ "**.md", "LICENSE", ".gitignore", ".github/ISSUE_TEMPLATE/**", "art/**", "fastlane/**" ] pull_request: branches: [ "main" ] + paths-ignore: [ "**.md", "LICENSE", ".gitignore", ".github/ISSUE_TEMPLATE/**", "art/**", "fastlane/**" ] workflow_dispatch: jobs: @@ -36,6 +38,12 @@ jobs: echo ${{ secrets.SIGNING_KEY }} | base64 --decode > ${{ github.workspace }}/key.jks fi + - name: Setup Android NDK + uses: nttld/setup-ndk@v1.5.0 + with: + ndk-version: r27c + # link-to-sdk: true + - name: Build with Gradle run: ./gradlew assembleRelease