Specify files and add testing

This commit is contained in:
Thomas Hu
2020-07-09 23:05:11 -04:00
parent f3570723ef
commit 89692c91b7
12 changed files with 6117 additions and 230 deletions

View File

@@ -9,6 +9,7 @@ try {
const token = core.getInput("token");
const flags = core.getInput("flags");
const file = core.getInput("file");
const files = core.getInput("files");
const env_vars = core.getInput("env_vars");
fail_ci = core.getInput("fail_ci_if_error").toLowerCase();
@@ -83,6 +84,14 @@ try {
);
}
if (files) {
files.split(',').forEach(f => {
execArgs.push(
"-f", `${f}`
);
});
}
execArgs.push(
"-n", `${name}`,
"-F", `${flags}`