From 96b1a4c7a50a93719403d2adff1d7e4c688c9c1d Mon Sep 17 00:00:00 2001 From: fengyuecanzhu <1021300691@qq.com> Date: Sun, 20 Jun 2021 16:38:12 +0800 Subject: [PATCH] update actions --- .github/workflows/reader.yml | 2 +- app/build.gradle | 10 ++++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/reader.yml b/.github/workflows/reader.yml index 4cf45bc..07efa05 100644 --- a/.github/workflows/reader.yml +++ b/.github/workflows/reader.yml @@ -29,4 +29,4 @@ jobs: uses: actions/upload-artifact@v2 with: name: fyreader apk - path: ${{ github.workspace }}/app/build/outputs/apk/app/release/*.apk + path: ${{ github.workspace }}/app/release/*.apk diff --git a/app/build.gradle b/app/build.gradle index 7f2ab15..1af0fe6 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -75,6 +75,8 @@ android { keyPassword keyProps['keyPassword'] storeFile keyProps['storeFile'] ? file(keyProps['storeFile']) : null storePassword keyProps['storePassword'] + v1SigningEnabled true + v2SigningEnabled true } } @@ -89,9 +91,9 @@ android { ndk { abiFilters "x86", "armeabi", "armeabi-v7a" } - if (keyPropsFile.exists()) { + //if (keyPropsFile.exists()) { signingConfig signingConfigs.myConifg - } + //} } debug { ndk { @@ -99,9 +101,9 @@ android { } minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' - if (keyPropsFile.exists()) { + //if (keyPropsFile.exists()) { signingConfig signingConfigs.myConifg - } + //} } android.applicationVariants.all { variant -> variant.outputs.all {