Update config.yml
This commit is contained in:
parent
e2468d1d17
commit
e5ed5ff582
|
@ -106,19 +106,51 @@ jobs:
|
||||||
GRADLE_OPTS: -Xmx1536m -XX:+HeapDumpOnOutOfMemoryError -Dorg.gradle.caching=true -Dorg.gradle.configureondemand=true -Dkotlin.compiler.execution.strategy=in-process -Dkotlin.incremental=false
|
GRADLE_OPTS: -Xmx1536m -XX:+HeapDumpOnOutOfMemoryError -Dorg.gradle.caching=true -Dorg.gradle.configureondemand=true -Dkotlin.compiler.execution.strategy=in-process -Dkotlin.incremental=false
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
|
- restore_cache:
|
||||||
|
name: Restore NPM cache
|
||||||
|
key: node-modules-{{ checksum "yarn.lock" }}
|
||||||
|
|
||||||
|
- run:
|
||||||
|
name: Install React Native CLI
|
||||||
|
command: |
|
||||||
|
npm i -g react-native-cli
|
||||||
|
|
||||||
|
- run:
|
||||||
|
name: Install NPM modules
|
||||||
|
command: |
|
||||||
|
yarn
|
||||||
|
|
||||||
|
- restore_cache:
|
||||||
|
name: Restore gradle cache
|
||||||
|
key: android-{{ checksum "android/build.gradle" }}-{{ checksum "android/app/build.gradle" }}
|
||||||
|
|
||||||
- run:
|
- run:
|
||||||
name: restore files from ENV
|
name: restore files from ENV
|
||||||
command: |
|
command: |
|
||||||
echo $CHAT_ROCKET_ANDROID_STORE_FILE_BASE64_JKS | base64 --decode > chat-rocket-android.jks
|
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
|
echo $ROCKET_PLAY_JSON | base64 --decode > android/app/rocket-chat.json
|
||||||
|
|
||||||
- run:
|
- run:
|
||||||
name: Build Play AAB
|
name: Build Play AAB
|
||||||
command:
|
command:
|
||||||
cd android && ./gradlew bundlePlayRelease
|
cd android && ./gradlew bundlePlayRelease
|
||||||
|
|
||||||
- store_artifacts:
|
- store_artifacts:
|
||||||
path: app/build/outputs/bundle
|
path: app/build/outputs/bundle
|
||||||
destination: bundle
|
destination: bundle
|
||||||
|
|
||||||
|
- save_cache:
|
||||||
|
name: Save NPM cache
|
||||||
|
key: node-modules-{{ checksum "yarn.lock" }}
|
||||||
|
paths:
|
||||||
|
- ./node_modules
|
||||||
|
|
||||||
|
- save_cache:
|
||||||
|
name: Save gradle cache
|
||||||
|
key: android-{{ checksum "android/build.gradle" }}-{{ checksum "android/app/build.gradle" }}
|
||||||
|
paths:
|
||||||
|
- ~/.gradle
|
||||||
|
|
||||||
android-play-experimental-build:
|
android-play-experimental-build:
|
||||||
<<: *defaults
|
<<: *defaults
|
||||||
docker:
|
docker:
|
||||||
|
|
Loading…
Reference in New Issue