mirror of
https://github.com/erlef/setup-beam.git
synced 2026-08-01 11:36:07 +00:00
Ease debugging around ImageOS env.var (#63)
This commit is contained in:
committed by
GitHub
parent
ade4f1d567
commit
14d4bc3919
Vendored
+3
-1
@@ -5008,7 +5008,9 @@ function getRunnerOSVersion() {
|
|||||||
|
|
||||||
if (!containerFromEnvImageOS) {
|
if (!containerFromEnvImageOS) {
|
||||||
throw new Error(
|
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: " +
|
"self-hosted runner, you should set 'env': 'ImageOS': ... to one of the following: " +
|
||||||
"['" +
|
"['" +
|
||||||
`${Object.keys(ImageOSToContainer).join("', '")}` +
|
`${Object.keys(ImageOSToContainer).join("', '")}` +
|
||||||
|
|||||||
+3
-1
@@ -352,7 +352,9 @@ function getRunnerOSVersion() {
|
|||||||
|
|
||||||
if (!containerFromEnvImageOS) {
|
if (!containerFromEnvImageOS) {
|
||||||
throw new Error(
|
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: " +
|
"self-hosted runner, you should set 'env': 'ImageOS': ... to one of the following: " +
|
||||||
"['" +
|
"['" +
|
||||||
`${Object.keys(ImageOSToContainer).join("', '")}` +
|
`${Object.keys(ImageOSToContainer).join("', '")}` +
|
||||||
|
|||||||
Reference in New Issue
Block a user