mirror of
https://github.com/codecov/codecov-action.git
synced 2026-04-13 01:20:06 +00:00
implement xtra args for cli
This commit is contained in:
parent
ac042eaf0f
commit
508a540e69
4 changed files with 11 additions and 1 deletions
4
dist/index.js
vendored
4
dist/index.js
vendored
|
|
@ -32307,6 +32307,7 @@ const buildCommitExec = () => {
|
|||
const buildGeneralExec = () => {
|
||||
const url = core.getInput('url');
|
||||
const verbose = isTrue(core.getInput('verbose'));
|
||||
const xtraArgs = core.getInput('xtra_args');
|
||||
const args = [];
|
||||
if (url) {
|
||||
args.push('--enterprise-url', `${url}`);
|
||||
|
|
@ -32314,6 +32315,9 @@ const buildGeneralExec = () => {
|
|||
if (verbose) {
|
||||
args.push('-v');
|
||||
}
|
||||
if (xtraArgs) {
|
||||
args.push(xtraArgs);
|
||||
}
|
||||
return { args, verbose };
|
||||
};
|
||||
const buildReportExec = () => {
|
||||
|
|
|
|||
2
dist/index.js.map
vendored
2
dist/index.js.map
vendored
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue