Add network filter parameter

This commit is contained in:
Tom Hu
2021-03-16 09:17:23 -04:00
parent 1f8f3abccc
commit 79a0ba12c8
6 changed files with 19 additions and 3 deletions

View File

@@ -32,6 +32,7 @@ const buildExec = () => {
const gcovInclude = core.getInput('gcov_path_include');
const gcovPrefix = core.getInput('gcov_prefix');
const name = core.getInput('name');
const networkFilter = core.getInput('network_filter');
const overrideBranch = core.getInput('override_branch');
const overrideBuild = core.getInput('override_build');
const overrideCommit = core.getInput('override_commit');
@@ -123,6 +124,9 @@ const buildExec = () => {
if (gcovPrefix) {
execArgs.push('-k', `${gcovPrefix}`);
}
if (networkFilter) {
execArgs.push('-i', `${networkFilter}`);
}
if (overrideBranch) {
execArgs.push('-B', `${overrideBranch}`);
}