From e696518c6d0ff5b8960c3e2471bd1b0e8d910d53 Mon Sep 17 00:00:00 2001 From: nian1 Date: Sat, 20 Jul 2024 05:48:22 +0800 Subject: [PATCH 1/2] Update workflows --- .github/workflows/android.yml | 5 ++--- .github/workflows/ios.yml | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 0221568..98642df 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -19,9 +19,8 @@ on: - docs - iosApp -#concurrency: -# group: build-android-${{ github.ref }} -# cancel-in-progress: true +env: + GRADLE_OPTS: "-Dorg.gradle.jvmargs=-Xmx6g -Dorg.gradle.daemon=false -Dorg.gradle.vfs.watch=false -Dkotlin.incremental=false" jobs: build_android: diff --git a/.github/workflows/ios.yml b/.github/workflows/ios.yml index 513473c..2b86ca5 100644 --- a/.github/workflows/ios.yml +++ b/.github/workflows/ios.yml @@ -19,9 +19,8 @@ on: - docs - androidApp -#concurrency: -# group: build-ios-${{ github.ref }} -# cancel-in-progress: true +env: + GRADLE_OPTS: "-Dorg.gradle.jvmargs=-Xmx6g -Dorg.gradle.daemon=false -Dorg.gradle.vfs.watch=false -Dkotlin.incremental=false" jobs: build_ios: From 2c5fc91796c9081c08240c83abd4d6f777962417 Mon Sep 17 00:00:00 2001 From: nian1 Date: Sat, 20 Jul 2024 05:48:55 +0800 Subject: [PATCH 2/2] Update gradle.properties --- gradle.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle.properties b/gradle.properties index 5086032..e83e0f6 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,5 +1,5 @@ # Gradle -org.gradle.jvmargs=-Xmx4096m -XX:+HeapDumpOnOutOfMemoryError -XX:+UseParallelGC -Dfile.encoding=UTF-8 +org.gradle.jvmargs=-Xmx4096m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 org.gradle.parallel=true org.gradle.caching=true org.gradle.configuration-cache=true