From 279bf88fe00717a2a97492877d1e0e6ecfc4b1f1 Mon Sep 17 00:00:00 2001 From: Daniel Kao Date: Sat, 3 Feb 2024 02:55:27 +0800 Subject: [PATCH] fix: github action set to use java17 --- .github/workflows/buid-app-workflow.yaml | 5 +++++ gradle.properties | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/buid-app-workflow.yaml b/.github/workflows/buid-app-workflow.yaml index 3ec1de0c..c89cdca9 100644 --- a/.github/workflows/buid-app-workflow.yaml +++ b/.github/workflows/buid-app-workflow.yaml @@ -6,6 +6,11 @@ jobs: steps: - name: Checkout the code uses: actions/checkout@v2 + - name: Set up Java + uses: actions/setup-java@v2 + with: + distribution: "temurin" + java-version: 17 - name: Decode Keystore uses: timheuer/base64-to-file@v1 id: android_keystore diff --git a/gradle.properties b/gradle.properties index a105932a..974dafc6 100644 --- a/gradle.properties +++ b/gradle.properties @@ -4,7 +4,7 @@ # Specifies the JVM arguments used for the daemon process. # The setting is particularly useful for tweaking memory settings. # Default value: -Xmx1024m -XX:MaxPermSize=256m - org.gradle.jvmargs=-Xmx8192m -XX:MaxPermSize=8192m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 +# org.gradle.jvmargs=-Xmx8192m -XX:MaxPermSize=8192m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 # # When configured, Gradle will run in incubating parallel mode. # This option should only be used with decoupled projects. More details, visit