mirror of https://github.com/actions/toolkit
Add debug info for check os version id during manifest findMatch
parent
b5f31bb5a2
commit
7c3fe0db7d
|
@ -92,6 +92,11 @@ export async function _findMatch(
|
||||||
chk = true
|
chk = true
|
||||||
} else {
|
} else {
|
||||||
chk = semver.satisfies(osVersion, item.platform_version)
|
chk = semver.satisfies(osVersion, item.platform_version)
|
||||||
|
if (!chk) {
|
||||||
|
debug(
|
||||||
|
`os version: "${osVersion}" does not match version python is built for: "${item.platform_version}"`
|
||||||
|
)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue