1
0
Fork 0

tool-cache now logs when it skips a version

Really helps debugging if, for some reason, a tool doesn't follow semver
pull/1225/head
Romain Goyet 2022-10-28 09:47:22 -04:00
parent b36e70495f
commit 22fe357ece
1 changed files with 2 additions and 0 deletions

View File

@ -555,6 +555,8 @@ export function findAllVersions(toolName: string, arch?: string): string[] {
if (fs.existsSync(fullPath) && fs.existsSync(`${fullPath}.complete`)) {
versions.push(child)
}
} else {
core.debug(`Skipping ${child} as it is not an explicit version.`)
}
}
}