diff --git a/dist/index.js b/dist/index.js index c55d05e..98cba2f 100644 --- a/dist/index.js +++ b/dist/index.js @@ -59564,6 +59564,7 @@ var buildExec = function () { envVarsArg.push(envVarClean); } } + console.log(context); if (token) { options.env.CODECOV_TOKEN = token; } @@ -59626,6 +59627,7 @@ var buildExec = function () { execArgs.push('-C', "" + overrideCommit); } else { + // attempt commit detection execArgs.push('-C', "" + context.sha); } if (overridePr) { diff --git a/src/buildExec.ts b/src/buildExec.ts index 9892c40..a9ef741 100644 --- a/src/buildExec.ts +++ b/src/buildExec.ts @@ -71,6 +71,8 @@ const buildExec = () => { } } + console.log(context); + if (token) { options.env.CODECOV_TOKEN = token; } @@ -132,6 +134,7 @@ const buildExec = () => { if (overrideCommit) { execArgs.push('-C', `${overrideCommit}`); } else { + // attempt commit detection execArgs.push('-C', `${context.sha}`); } if (overridePr) {