mirror of
https://github.com/gradle/actions.git
synced 2025-12-08 17:15:46 +08: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:
@@ -387,7 +387,7 @@ export class ConfigurationCacheEntryExtractor extends AbstractEntryExtractor {
|
||||
* set of project roots, to allow saving of configuration-cache entries for each.
|
||||
*/
|
||||
private getProjectRoots(): string[] {
|
||||
const projectList = path.resolve(this.gradleUserHome, PROJECT_ROOTS_FILE)
|
||||
const projectList = path.resolve(process.env['RUNNER_TEMP']!, PROJECT_ROOTS_FILE)
|
||||
if (!fs.existsSync(projectList)) {
|
||||
core.info(`Missing project list file ${projectList}`)
|
||||
return []
|
||||
|
||||
Reference in New Issue
Block a user