update actions

pull/9/head
fengyuecanzhu 3 years ago
parent 70f1ac4e95
commit 96b1a4c7a5
  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