Moves google-services.json (play) to proper directory.
This commit is contained in:
parent
1aed6e4d13
commit
7c99ca3360
|
@ -99,7 +99,28 @@ jobs:
|
||||||
- store_artifacts:
|
- store_artifacts:
|
||||||
path: /tmp/screenshots
|
path: /tmp/screenshots
|
||||||
|
|
||||||
android-build:
|
android-play-build:
|
||||||
|
docker:
|
||||||
|
- image: circleci/android:api-29
|
||||||
|
environment:
|
||||||
|
GRADLE_OPTS: -Xmx1536m -XX:+HeapDumpOnOutOfMemoryError -Dorg.gradle.caching=true -Dorg.gradle.configureondemand=true -Dkotlin.compiler.execution.strategy=in-process -Dkotlin.incremental=false
|
||||||
|
steps:
|
||||||
|
- checkout
|
||||||
|
- run:
|
||||||
|
name: restore files from ENV
|
||||||
|
command: |
|
||||||
|
echo $CHAT_ROCKET_ANDROID_STORE_FILE_BASE64_JKS | base64 --decode > chat-rocket-android.jks
|
||||||
|
echo $ROCKET_PLAY_JSON | base64 --decode > android/app/rocket-chat.json
|
||||||
|
- run:
|
||||||
|
name: Download Dependencies
|
||||||
|
command: ./gradlew androidDependencies
|
||||||
|
- run:
|
||||||
|
name: Build Play AAB
|
||||||
|
command: ./gradlew bundleRelease
|
||||||
|
- store_artifacts:
|
||||||
|
path: /tmp/build/outputs/play
|
||||||
|
|
||||||
|
android-play-experimental-build:
|
||||||
<<: *defaults
|
<<: *defaults
|
||||||
docker:
|
docker:
|
||||||
- image: circleci/android:api-28-node
|
- image: circleci/android:api-28-node
|
||||||
|
@ -207,7 +228,7 @@ jobs:
|
||||||
mv app/build/outputs /tmp/build/
|
mv app/build/outputs /tmp/build/
|
||||||
|
|
||||||
- store_artifacts:
|
- store_artifacts:
|
||||||
path: /tmp/build/outputs
|
path: /tmp/build/outputs/play-experimental
|
||||||
|
|
||||||
- save_cache:
|
- save_cache:
|
||||||
name: Save NPM cache
|
name: Save NPM cache
|
||||||
|
@ -374,6 +395,10 @@ workflows:
|
||||||
requires:
|
requires:
|
||||||
- ios-hold-testflight
|
- ios-hold-testflight
|
||||||
|
|
||||||
- android-build:
|
- android-play-build:
|
||||||
|
requires:
|
||||||
|
- lint-testunit
|
||||||
|
|
||||||
|
- android-play-experimental-build:
|
||||||
requires:
|
requires:
|
||||||
- lint-testunit
|
- lint-testunit
|
||||||
|
|
Loading…
Reference in New Issue