Skip to content

Commit 2f82b36

Browse files
committed
restrict gradle parallelism on CI only
1 parent 2a86a9b commit 2f82b36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,12 +325,12 @@ jobs:
325325
environment:
326326
TERM: xterm-256color
327327
- gradle-cache
328+
- run: echo 'org.gradle.workers.max=2' >> ./android/gradle.properties
328329
- run:
329330
name: Run Fastlane
330331
command: bundle exec fastlane android ci-run | tee ./logs/build
331332
environment:
332333
GIT_COMMIT_DESC: $(git log --format=oneline -n 1 $CIRCLE_SHA1)
333-
GRADLE_OPTS: --max-workers=2 --no-parallel
334334
- store_artifacts:
335335
path: ./android/app/build/outputs/apk/release/
336336
- danger

0 commit comments

Comments
 (0)