Ease debugging around ImageOS env.var (#63)

This commit is contained in:
Paulo F. Oliveira
2021-07-26 17:30:18 +01:00
committed by GitHub
parent ade4f1d567
commit 14d4bc3919
2 changed files with 6 additions and 2 deletions
+3 -1
View File
@@ -5008,7 +5008,9 @@ function getRunnerOSVersion() {
if (!containerFromEnvImageOS) {
throw new Error(
"Tried to map a target OS from env. variable 'ImageOS', but failed. If you're using a " +
"Tried to map a target OS from env. variable 'ImageOS' (got " +
`${process.env.ImageOS}` +
"), but failed. If you're using a " +
"self-hosted runner, you should set 'env': 'ImageOS': ... to one of the following: " +
"['" +
`${Object.keys(ImageOSToContainer).join("', '")}` +