mirror of
https://github.com/gradle/gradle-build-action.git
synced 2024-11-29 11:40:59 -05:00
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
This commit is contained in:
parent
aea6ddad5b
commit
52ebf2721a
1 changed files with 0 additions and 3 deletions
|
@ -166,9 +166,6 @@ export class GradleStateCache {
|
||||||
}
|
}
|
||||||
|
|
||||||
private initializeGradleUserHome(gradleUserHome: string, initScriptsDir: string): void {
|
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']
|
const initScriptFilenames = ['build-result-capture.init.gradle', 'build-result-capture-service.plugin.groovy']
|
||||||
for (const initScriptFilename of initScriptFilenames) {
|
for (const initScriptFilename of initScriptFilenames) {
|
||||||
const initScriptContent = this.readResourceAsString(initScriptFilename)
|
const initScriptContent = this.readResourceAsString(initScriptFilename)
|
||||||
|
|
Loading…
Reference in a new issue