diff --git a/dist/index.js b/dist/index.js index 240106b..bbe5fd5 100644 --- a/dist/index.js +++ b/dist/index.js @@ -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("', '")}` + diff --git a/src/setup-beam.js b/src/setup-beam.js index 97a44d6..3225d4c 100644 --- a/src/setup-beam.js +++ b/src/setup-beam.js @@ -352,7 +352,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("', '")}` +