diff --git a/dist/post_run/index.js b/dist/post_run/index.js index 297e712..7e4424b 100644 --- a/dist/post_run/index.js +++ b/dist/post_run/index.js @@ -94053,10 +94053,6 @@ async function runLint(binPath, patchPath) { const res = await execShellCommand(`${binPath} cache status`); printOutput(res); } - if (core.getBooleanInput(`verify`, { required: true })) { - const res = await execShellCommand(`${binPath} config verify`); - printOutput(res); - } let userArgs = core.getInput(`args`); const addedArgs = []; const userArgsList = userArgs @@ -94127,6 +94123,10 @@ async function runLint(binPath, patchPath) { } cmdArgs.cwd = path.resolve(workingDirectory); } + if (core.getBooleanInput(`verify`, { required: true })) { + const res = await execShellCommand(`${binPath} config verify`, cmdArgs); + printOutput(res); + } const cmd = `${binPath} run ${addedArgs.join(` `)} ${userArgs}`.trimEnd(); core.info(`Running [${cmd}] in [${cmdArgs.cwd || process.cwd()}] ...`); const startedAt = Date.now(); diff --git a/dist/run/index.js b/dist/run/index.js index c18aa3b..3fb964e 100644 --- a/dist/run/index.js +++ b/dist/run/index.js @@ -94053,10 +94053,6 @@ async function runLint(binPath, patchPath) { const res = await execShellCommand(`${binPath} cache status`); printOutput(res); } - if (core.getBooleanInput(`verify`, { required: true })) { - const res = await execShellCommand(`${binPath} config verify`); - printOutput(res); - } let userArgs = core.getInput(`args`); const addedArgs = []; const userArgsList = userArgs @@ -94127,6 +94123,10 @@ async function runLint(binPath, patchPath) { } cmdArgs.cwd = path.resolve(workingDirectory); } + if (core.getBooleanInput(`verify`, { required: true })) { + const res = await execShellCommand(`${binPath} config verify`, cmdArgs); + printOutput(res); + } const cmd = `${binPath} run ${addedArgs.join(` `)} ${userArgs}`.trimEnd(); core.info(`Running [${cmd}] in [${cmdArgs.cwd || process.cwd()}] ...`); const startedAt = Date.now();