neiam
/action-setup-beam
action-setup-beam
public · Issues · Pulls · Labels · Forks · Compare · Actions queued
⭐
Log in to mark this repository.
Ease debugging around ImageOS env.var (#63)
14d4bc3 · Paulo F. Oliveira · 2021-07-26 16:30
Files changed
modified
dist/index.js
+3
−1
@@ -5008,7 +5008,9 @@ function getRunnerOSVersion() {
| 5008 | 5008 | |
| 5009 | 5009 | if (!containerFromEnvImageOS) { |
| 5010 | 5010 | throw new Error( |
| 5011 | − "Tried to map a target OS from env. variable 'ImageOS', but failed. If you're using a " + | |
| 5011 | + "Tried to map a target OS from env. variable 'ImageOS' (got " + | |
| 5012 | + `${process.env.ImageOS}` + | |
| 5013 | + "), but failed. If you're using a " + | |
| 5012 | 5014 | "self-hosted runner, you should set 'env': 'ImageOS': ... to one of the following: " + |
| 5013 | 5015 | "['" + |
| 5014 | 5016 | `${Object.keys(ImageOSToContainer).join("', '")}` + |
modified
src/setup-beam.js
+3
−1
@@ -352,7 +352,9 @@ function getRunnerOSVersion() {
| 352 | 352 | |
| 353 | 353 | if (!containerFromEnvImageOS) { |
| 354 | 354 | throw new Error( |
| 355 | − "Tried to map a target OS from env. variable 'ImageOS', but failed. If you're using a " + | |
| 355 | + "Tried to map a target OS from env. variable 'ImageOS' (got " + | |
| 356 | + `${process.env.ImageOS}` + | |
| 357 | + "), but failed. If you're using a " + | |
| 356 | 358 | "self-hosted runner, you should set 'env': 'ImageOS': ... to one of the following: " + |
| 357 | 359 | "['" + |
| 358 | 360 | `${Object.keys(ImageOSToContainer).join("', '")}` + |
Parents: ade4f1d