diff --git a/dist/index.js b/dist/index.js index 3d3888c..46abc02 100644 --- a/dist/index.js +++ b/dist/index.js @@ -42980,7 +42980,9 @@ async function or8n(inputs) { `--output`, `${lastRunFilePath}` ]; - const exitCode = await exec.exec(`npx currents api get-run ${options.join(' ')}`); + const exitCode = await exec.exec(`npx currents api get-run ${options.join(' ')}`, [], { + ignoreReturnCode: true + }); if (exitCode === 0) { core.setOutput('extra-pw-flags', '--last-failed'); } diff --git a/src/index.ts b/src/index.ts index 423c01e..108708a 100644 --- a/src/index.ts +++ b/src/index.ts @@ -126,7 +126,11 @@ async function or8n(inputs: ActionInputs): Promise { `${lastRunFilePath}` ] const exitCode = await exec.exec( - `npx currents api get-run ${options.join(' ')}` + `npx currents api get-run ${options.join(' ')}`, + [], + { + ignoreReturnCode: true + } ) if (exitCode === 0) {