mirror of
https://github.com/gradle/gradle-build-action.git
synced 2025-06-07 16:56:12 +02:00
Save project-root-list in RUNNER_TEMP dir
This feels better than saving in Gradle User Home and is consistent with where the build results are written.
This commit is contained in:
parent
14c898b500
commit
ece69c52b2
2 changed files with 2 additions and 2 deletions
|
@ -10,7 +10,7 @@ import org.gradle.tooling.events.*
|
|||
|
||||
settingsEvaluated { settings ->
|
||||
def rootDir = settings.rootDir.absolutePath
|
||||
def rootListLocation = new File(settings.gradle.gradleUserHomeDir, "project-roots.txt").absolutePath
|
||||
def rootListLocation = new File(System.getenv("RUNNER_TEMP"), "project-roots.txt").absolutePath
|
||||
|
||||
def projectTracker = gradle.sharedServices.registerIfAbsent("gradle-build-action-projectRootTracker", ProjectTracker, { spec ->
|
||||
spec.getParameters().getRootDir().set(rootDir);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue