Merge pull request #9 from fengyuecanzhu/dev

update actions
pull/12/head^2
fengyuecanzhu 3 years ago committed by GitHub
commit 9e120312d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      .github/workflows/reader.yml
  2. 10
      app/build.gradle

@ -29,4 +29,4 @@ jobs:
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:
name: fyreader apk name: fyreader apk
path: ${{ github.workspace }}/app/build/outputs/apk/app/release/*.apk path: ${{ github.workspace }}/app/release/*.apk

@ -75,6 +75,8 @@ android {
keyPassword keyProps['keyPassword'] keyPassword keyProps['keyPassword']
storeFile keyProps['storeFile'] ? file(keyProps['storeFile']) : null storeFile keyProps['storeFile'] ? file(keyProps['storeFile']) : null
storePassword keyProps['storePassword'] storePassword keyProps['storePassword']
v1SigningEnabled true
v2SigningEnabled true
} }
} }
@ -89,9 +91,9 @@ android {
ndk { ndk {
abiFilters "x86", "armeabi", "armeabi-v7a" abiFilters "x86", "armeabi", "armeabi-v7a"
} }
if (keyPropsFile.exists()) { //if (keyPropsFile.exists()) {
signingConfig signingConfigs.myConifg signingConfig signingConfigs.myConifg
} //}
} }
debug { debug {
ndk { ndk {
@ -99,9 +101,9 @@ android {
} }
minifyEnabled false minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
if (keyPropsFile.exists()) { //if (keyPropsFile.exists()) {
signingConfig signingConfigs.myConifg signingConfig signingConfigs.myConifg
} //}
} }
android.applicationVariants.all { variant -> android.applicationVariants.all { variant ->
variant.outputs.all { variant.outputs.all {

Loading…
Cancel
Save