mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-27 17:29:50 +08:00
CircleCI Android: Use git-crypt
This way we only need to pass one env variable. And the build process is more similar to ios.
This commit is contained in:
@ -20,14 +20,8 @@ jobs:
|
|||||||
name: Analyze
|
name: Analyze
|
||||||
command: flutter analyze
|
command: flutter analyze
|
||||||
- run:
|
- run:
|
||||||
name: Decode Android key store
|
name: Unlock Secrets
|
||||||
command: echo "$KEYSTORE" | base64 -di > android/app/keystore.jks
|
command: ./scripts/decrypt_secrets.sh
|
||||||
- run:
|
|
||||||
name: Create Google Play key
|
|
||||||
command: echo "$GOOGLE_PLAY_KEY" | base64 -di > android/google-play-api-key.json
|
|
||||||
- run:
|
|
||||||
name: Create Android Key file
|
|
||||||
command: echo "$ANDROID_KEY_FILE" | base64 -di > android/key.properties
|
|
||||||
- run:
|
- run:
|
||||||
name: Build
|
name: Build
|
||||||
command: ./scripts/build.sh
|
command: ./scripts/build.sh
|
||||||
|
Reference in New Issue
Block a user