File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 77
88# Enrich gradle.properties for CI/CD
99env :
10- GRADLE_OPTS : -Dorg.gradle.jvmargs=-Xmx9g -XX:MaxMetaspaceSize=512m -Dfile.encoding=UTF-8 -XX:+HeapDumpOnOutOfMemoryError -XX:+UseG1GC -Dkotlin.daemon.jvm.options=-Xmx4g -Dsonar.gradle.skipCompile=true --no-configuration-cache
10+ GRADLE_OPTS : -Dorg.gradle.jvmargs=-Xmx9g -XX:MaxMetaspaceSize=512m -Dfile.encoding=UTF-8 -XX:+HeapDumpOnOutOfMemoryError -XX:+UseG1GC -Dkotlin.daemon.jvm.options=-Xmx4g -Dsonar.gradle.skipCompile=true
11+ CI_GRADLE_ARG_PROPERTIES : --no-configuration-cache
1112
1213jobs :
1314 record :
4849 env :
4950 GITHUB_TOKEN : ${{ secrets.DANGER_GITHUB_API_TOKEN || secrets.GITHUB_TOKEN }}
5051 GITHUB_REPOSITORY : ${{ secrets.GITHUB_REPOSITORY }}
52+ GRADLE_ARGS : ${{ env.CI_GRADLE_ARG_PROPERTIES }}
Original file line number Diff line number Diff line change @@ -51,10 +51,10 @@ if [[ -z ${REPO} ]]; then
5151fi
5252
5353echo " Deleting previous screenshots"
54- ./gradlew removeOldSnapshots --stacktrace --warn
54+ ./gradlew removeOldSnapshots --stacktrace --warn $GRADLE_ARGS
5555
5656echo " Record screenshots"
57- ./gradlew recordPaparazziDebug --stacktrace
57+ ./gradlew recordPaparazziDebug --stacktrace $GRADLE_ARGS
5858
5959echo " Committing changes"
6060git config http.sslVerify false
You can’t perform that action at this time.
0 commit comments