Add makefile and automations

This commit is contained in:
Tom Hu
2020-12-20 16:57:08 -05:00
parent 7de43a7373
commit c6de3f8548
5 changed files with 36 additions and 1 deletions

19
dist/index.js vendored
View File

@@ -2530,6 +2530,9 @@ try {
const dir = core.getInput("directory");
const write_path = core.getInput("path_to_write_report");
const verbose = core.getInput("verbose");
const working_dir = core.getInput("working-directory");
const xcode_derived_data = core.getInput("xcode_derived_data");
const xcode_package = core.getInput("xcode_package");
fail_ci = core.getInput("fail_ci_if_error").toLowerCase();
@@ -2651,6 +2654,22 @@ try {
);
}
if (working_dir) {
options.cwd = working_dir;
}
if (xcode_derived_data) {
execArgs.push(
"-D", `${xcode_derived_data}`
);
}
if (xcode_package) {
execArgs.push(
"-J", `${xcode_package}`
);
}
exec.exec("bash", execArgs, options)
.catch(err => {
if (fail_ci) {