|
@@ -245,11 +245,20 @@ __ __ _ __ ____ __
|
|
function runBash()
|
|
function runBash()
|
|
{
|
|
{
|
|
// cmd, cwd, args and env are replaced by the Github actions workflow.
|
|
// cmd, cwd, args and env are replaced by the Github actions workflow.
|
|
|
|
+ var cmd = CMD;
|
|
|
|
+ var args = ARGS;
|
|
|
|
+ var env = ENV;
|
|
|
|
+ var cwd = CWD;
|
|
|
|
+ // Reasonable defaults for local deployments
|
|
|
|
+ // cmd = "/bin/bash";
|
|
|
|
+ // args = ["--login"];
|
|
|
|
+ // env = ["HOME=/home/user", "TERM=xterm", "USER=user", "SHELL=/bin/bash", "EDITOR=vim", "LANG=en_US.UTF-8", "LC_ALL=C"];
|
|
|
|
+ // cwd = "/home/user";
|
|
const structure = {
|
|
const structure = {
|
|
- cmd: CMD,
|
|
|
|
- args: ARGS,
|
|
|
|
- env: ENV,
|
|
|
|
- cwd: CWD
|
|
|
|
|
|
+ cmd: cmd,
|
|
|
|
+ args: args,
|
|
|
|
+ env: env,
|
|
|
|
+ cwd: cwd
|
|
}
|
|
}
|
|
if (typeof SharedArrayBuffer === "undefined")
|
|
if (typeof SharedArrayBuffer === "undefined")
|
|
{
|
|
{
|