implement xtra args for cli

This commit is contained in:
Juho Majasaari 2024-01-24 15:15:14 +02:00
parent ac042eaf0f
commit 508a540e69
4 changed files with 11 additions and 1 deletions

4
dist/index.js vendored
View file

@ -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

File diff suppressed because one or more lines are too long