From 3f9a64417bd6a714dd5af16c7e6203a78453255f Mon Sep 17 00:00:00 2001 From: topjohnwu Date: Tue, 29 Dec 2020 02:46:57 -0800 Subject: [PATCH] Disable gradle daemon on Windows CI --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d7d758828..ad8e7294d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -50,6 +50,7 @@ jobs: echo "ANDROID_SDK_ROOT=$sdk_root" >> $env:GITHUB_ENV echo "ANDROID_HOME=$sdk_root" >> $env:GITHUB_ENV echo "MAGISK_NDK_VERSION=$ndk_ver" >> $env:GITHUB_ENV + echo "GRADLE_OPTS=-Dorg.gradle.daemon=false" >> $env:GITHUB_ENV - name: Set up GitHub env (Unix) if: runner.os != 'Windows' @@ -64,7 +65,6 @@ jobs: path: | ~/.gradle/caches ~/.gradle/wrapper - !~/.gradle/caches/**/*.lock key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle.kts') }} restore-keys: ${{ runner.os }}-gradle-