mirror of
https://github.com/codecov/codecov-action.git
synced 2026-04-19 20:22:34 +08:00
feat: add network params (#1365)
This commit is contained in:
@@ -206,6 +206,8 @@ const buildUploadExec = async () => {
|
||||
const handleNoReportsFound = isTrue(core.getInput('handle_no_reports_found'));
|
||||
const jobCode = core.getInput('job_code');
|
||||
const name = core.getInput('name');
|
||||
const networkFilter = core.getInput('network_filter');
|
||||
const networkPrefix = core.getInput('network_prefix');
|
||||
const os = core.getInput('os');
|
||||
const overrideBranch = core.getInput('override_branch');
|
||||
const overrideBuild = core.getInput('override_build');
|
||||
@@ -289,6 +291,12 @@ const buildUploadExec = async () => {
|
||||
if (name) {
|
||||
uploadExecArgs.push('-n', `${name}`);
|
||||
}
|
||||
if (networkFilter) {
|
||||
uploadExecArgs.push('--network-filter', `${networkFilter}`);
|
||||
}
|
||||
if (networkPrefix) {
|
||||
uploadExecArgs.push('--network-prefix', `${networkPrefix}`);
|
||||
}
|
||||
if (overrideBranch) {
|
||||
uploadExecArgs.push('-B', `${overrideBranch}`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user