Add verbosity

This commit is contained in:
Tom Hu
2020-10-16 18:27:17 -04:00
parent dade30aaa0
commit 283d2693b9
6 changed files with 3568 additions and 2793 deletions

View File

@@ -13,6 +13,7 @@ try {
const env_vars = core.getInput("env_vars");
const dir = core.getInput("directory");
const write_path = core.getInput("path_to_write_report");
const verbose = core.getInput("verbose");
fail_ci = core.getInput("fail_ci_if_error").toLowerCase();
@@ -126,6 +127,12 @@ try {
);
}
if (verbose) {
execArgs.push(
"-v"
);
}
exec.exec("bash", execArgs, options)
.catch(err => {
if (fail_ci) {