From 39dce6fa74ad9dec9ea35505adfe524f39d585ee Mon Sep 17 00:00:00 2001 From: Xwite <1797350009@qq.com> Date: Mon, 19 Feb 2024 18:09:35 +0800 Subject: [PATCH 1/2] Update text.yml --- .github/workflows/test.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5a42a7dbf..286f7c388 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -125,6 +125,13 @@ jobs: with: name: legado.${{ env.product }}.${{ env.type }}.mapping.missing_rules path: ${{ github.workspace }}/mapping/missing_rules.txt + - name: Check Build production + run: | + cd ${{ github.workspace }}/apk/ + if [ ! -e legado_*.apk ]; then + echo "Build production not found! Check gradle logs." + exit 1 + fi lanzou: needs: [ prepare, build ] From 5c5e245358ee954094c5121c8a3c5a6a877078f1 Mon Sep 17 00:00:00 2001 From: Xwite <82232510+Xwite@users.noreply.github.com> Date: Mon, 19 Feb 2024 18:14:41 +0800 Subject: [PATCH 2/2] Update proguard-rules.pro MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 更新R8规则: cronet 120以上版本 --- app/proguard-rules.pro | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index 3104daffc..4147f2695 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -396,6 +396,13 @@ # https://android.googlesource.com/platform/sdk/+/marshmallow-mr1-release/files/proguard-android.txt#54 -dontwarn android.support.** +# Please add these rules to your existing keep rules in order to suppress warnings. +# This is generated automatically by the Android Gradle plugin. +-dontwarn android.util.StatsEvent$Builder +-dontwarn android.util.StatsEvent +-dontwarn org.chromium.base.FeatureList +-dontwarn org.chromium.base.FeatureMap + #-------------------Cronet------------------------------------ # Class.forName调用