diff --git a/src/main.ts b/src/main.ts index dd023487..4c4e3e8f 100644 --- a/src/main.ts +++ b/src/main.ts @@ -13,7 +13,7 @@ async function run(): Promise { const solutionPath: string = core.getInput('solutionPath') const outputPath = 'result.xml' - let command = `jb inspectcode --build --output=${outputPath} --absolute-paths ${solutionPath}` + let command = `jb inspectcode --output=${outputPath} --absolute-paths ${solutionPath}` const include: string = core.getInput('include') if (include) { @@ -47,6 +47,8 @@ async function run(): Promise { const noBuild = core.getInput('noBuild') ?? '' if (noBuild.toLowerCase() === 'true') { command += ' --no-build' + } else { + command += ' --build' } const cachesHome = core.getInput('cachesHome') ?? ''