From 52ebf2721abad5afb66e66d17c5847b6efafb780 Mon Sep 17 00:00:00 2001 From: Daz DeBoer Date: Sun, 5 Jun 2022 09:11:16 -0600 Subject: [PATCH] Allow daemons to run across workflow steps Now that we are stopping all Gradle daemons in the post-job action, we can allow daemon processes to be re-used across steps in a workflow job. Fixes #113 --- src/cache-base.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/cache-base.ts b/src/cache-base.ts index cef16db..b79fb0f 100644 --- a/src/cache-base.ts +++ b/src/cache-base.ts @@ -166,9 +166,6 @@ export class GradleStateCache { } private initializeGradleUserHome(gradleUserHome: string, initScriptsDir: string): void { - const propertiesFile = path.resolve(gradleUserHome, 'gradle.properties') - fs.appendFileSync(propertiesFile, 'org.gradle.daemon=false') - const initScriptFilenames = ['build-result-capture.init.gradle', 'build-result-capture-service.plugin.groovy'] for (const initScriptFilename of initScriptFilenames) { const initScriptContent = this.readResourceAsString(initScriptFilename)