diff --git a/dist/index.js b/dist/index.js index e90cf28..9d7b971 100644 --- a/dist/index.js +++ b/dist/index.js @@ -7673,7 +7673,7 @@ var exec = __nccwpck_require__(1514); var failCi = src_buildExec().failCi; exec.exec('bash', ['bash/linux', '-c']) .then(function () { - exec.exec('codecov-linux')["catch"](function (err) { + exec.exec(__dirname + 'codecov-linux')["catch"](function (err) { if (failCi) { src_core.setFailed("Codecov failed with the following error: " + err.message); } diff --git a/src/index.ts b/src/index.ts index 36338b2..490319e 100644 --- a/src/index.ts +++ b/src/index.ts @@ -7,7 +7,7 @@ const {failCi} = buildExec(); exec.exec('bash', ['bash/linux', '-c']) .then(() => { - exec.exec('codecov-linux') + exec.exec(__dirname + 'codecov-linux') .catch((err) => { if (failCi) { core.setFailed(