mirror of https://github.com/actions/toolkit
tool-cache now logs when it skips a version
Really helps debugging if, for some reason, a tool doesn't follow semverpull/1225/head
parent
b36e70495f
commit
22fe357ece
|
@ -555,6 +555,8 @@ export function findAllVersions(toolName: string, arch?: string): string[] {
|
||||||
if (fs.existsSync(fullPath) && fs.existsSync(`${fullPath}.complete`)) {
|
if (fs.existsSync(fullPath) && fs.existsSync(`${fullPath}.complete`)) {
|
||||||
versions.push(child)
|
versions.push(child)
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
core.debug(`Skipping ${child} as it is not an explicit version.`)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue