mirror of
https://github.com/stonega/tsacdop
synced 2025-01-05 19:47:56 +01:00
modified: .circleci/config.yml
modified: android/app/build.gradle
This commit is contained in:
parent
455d37b727
commit
6f39e5c746
@ -18,6 +18,9 @@ jobs:
|
||||
name: Run the application tests
|
||||
command: flutter test
|
||||
|
||||
- run: echo $ENCODED_KEYSTORE | base64 --decode >> ${HOME}/repo/keystore.jks
|
||||
- run: echo 'export KEYSTORE=${HOME}/repo/keystore.jks' >> $BASH_ENV
|
||||
|
||||
- run:
|
||||
name: Build the Android version
|
||||
command: flutter build apk
|
||||
|
@ -54,10 +54,14 @@ android {
|
||||
|
||||
signingConfigs {
|
||||
release {
|
||||
keyAlias keystoreProperties['keyAlias']
|
||||
keyPassword keystoreProperties['keyPassword']
|
||||
storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null
|
||||
storePassword keystoreProperties['storePassword']
|
||||
storeFile file(System.getenv("KEYSTORE") ?: "keystore.jks")
|
||||
storePassword System.getenv("KEYSTORE_PASSWORD")
|
||||
keyAlias System.getenv("KEY_ALIAS")
|
||||
keyPassword System.getenv("KEY_PASSWORD")
|
||||
// keyAlias keystoreProperties['keyAlias']
|
||||
// keyPassword keystoreProperties['keyPassword']
|
||||
// storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null
|
||||
// storePassword keystoreProperties['storePassword']
|
||||
}
|
||||
}
|
||||
buildTypes {
|
||||
|
Loading…
Reference in New Issue
Block a user