Skip to content

Commit f6987fa

Browse files
authored
Update config.yml
1 parent 7e95740 commit f6987fa

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

.circleci/config.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,20 +46,30 @@ jobs:
4646
- restore_cache:
4747
key: dependency-cache-{{ checksum "package.json" }}-{{ arch }}
4848

49+
- restore_cache:
50+
key: jars-{{ arch }}
51+
4952
- run:
5053
name: Chmod permissions
5154
command: sudo chmod +x ./AppBuilderTest/android/gradlew
5255

56+
- run:
57+
name: Download Dependencies
58+
command: cd /home/circleci/project/AppBuilderTest/android && ./gradlew androidDependencies
59+
60+
- save_cache:
61+
paths:
62+
- ~/.gradle
63+
key: jars-{{ arch }}
64+
5365
- run:
5466
name: Set json
5567
command: |
5668
echo '{"projectBase": "/home/circleci/project/AppBuilderTest","settingFilePath":"/app.json","workspacePath":"test","schemePath":"test","androidParams":[{"buildName":"BUILD_TEST","customParam":"testValue"}],"iosParams":[]}' > setting.json
5769
5870
- run:
5971
name: Android build
60-
command: cd /home/circleci/project/AppBuilderTest/android && ./gradlew assembleRelease
61-
62-
72+
command: node ./bin.js android setting.json
6373

6474
rn-init:
6575
docker:

0 commit comments

Comments
 (0)