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
with:
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']
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 {

Loading…
Cancel
Save