diff --git a/dist/main.js b/dist/main.js index cb05963c..dacfdb10 100644 --- a/dist/main.js +++ b/dist/main.js @@ -22962,6 +22962,8 @@ async function main$1() { console.log(`No coverage report found at '${baseFile}', ignoring...`); } + console.log(JSON.stringify(github_1.payload, null, 2)); + const github = new github_2(token); const files = await changedFiles( github, @@ -22969,7 +22971,6 @@ async function main$1() { github_1.payload.commits, ); - console.log(JSON.stringify(github_1.payload, null, 2)); console.log(JSON.stringify(files, null, 2)); const options = { diff --git a/package.json b/package.json index 17ed49bc..9c7313bf 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "lcov-reporter-action", - "version": "0.2.18-alpha.6", + "version": "0.2.18-alpha.7", "description": "Comments a pull request with the lcov code coverage", "license": "MIT", "author": "Romeo Van Snick", diff --git a/src/index.js b/src/index.js index 7ae75706..fd2644bd 100644 --- a/src/index.js +++ b/src/index.js @@ -23,6 +23,8 @@ async function main() { console.log(`No coverage report found at '${baseFile}', ignoring...`) } + console.log(JSON.stringify(context.payload, null, 2)) + const github = new GitHub(token) const files = await changedFiles( github, @@ -30,7 +32,6 @@ async function main() { context.payload.commits, ) - console.log(JSON.stringify(context.payload, null, 2)) console.log(JSON.stringify(files, null, 2)) const options = {