diff --git a/.circleci/config.yml b/.circleci/config.yml index b071be3..536c2de 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -21,5 +21,8 @@ jobs: - run: name: Build the Android version command: flutter build appbundle --no-shrink + - run: + name: Build the Android apk + command: flutter build apk --split-per-abi --no-shrink - store_artifacts: path: build/app/outputs/ \ No newline at end of file diff --git a/android/app/build.gradle b/android/app/build.gradle index e15c65c..36a0660 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -56,7 +56,7 @@ android { signingConfigs { release { - storeFile file("keystore.jks") + storeFile file(System.getenv("KEYSTORE") ?:"keystore.jks") storePassword System.getenv("KEYSTORE_PASSWORD") keyAlias System.getenv("KEY_ALIAS") keyPassword System.getenv("KEY_PASSWORD")