diff --git a/src/main.ts b/src/main.ts index 24b3c79d..8195137f 100644 --- a/src/main.ts +++ b/src/main.ts @@ -18,6 +18,12 @@ async function run(): Promise { let command = `${executablePath} inspectcode -o=${outputPath} -a ${solutionPath} --build --verbosity=WARN` + const cachesHome = core.getInput('cachesHome'); + if (cachesHome !== '') + { + command += ` --caches-home=${cachesHome}`; + } + const exclude = core.getInput('exclude') ?? '' if (exclude !== '') { command += ` --exclude=${exclude}`