-
It would be nice to avoid displaying warnings when our scripts start:
I am still trying to figure out from where it comes but for sure it is happening only on jobs using this action and appears on action itself and also on all following |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
I'm moved this to a discussion, as it is more a usage question than a bug or feature. |
Beta Was this translation helpful? Give feedback.
I'm moved this to a discussion, as it is more a usage question than a bug or feature.
The default
wsl-shell-command
value contains theu
flag which errors out if you use an undeclared variable.Those usages are most often a typo like trying to read
SUDO_USRE
instead ofSUDO_USER
.You can either use variable-substitutions that use default values if the variable is not set, for example for variables set outside the script and just read within, or you can disable this behavior by configuring a custom
wsl-shell-command
without theu
flag.