diff --git a/index.js b/index.js index f0832fb..2464a38 100755 --- a/index.js +++ b/index.js @@ -182,11 +182,11 @@ if (require.main === module) { if (e instanceof NeutralExitError) { // it seems that exit code 78 is no longer supported: // https://github.community/t5/GitHub-Actions/GitHub-Actions-quot-neutral-quot-exit-code-is-incorrectly/td-p/29051 - process.exitCode = 78; - // process.exitCode = 0; + // process.exitCode = 78; + process.exitCode = 0; } else { process.exitCode = 1; - console.log(e.message || e); } + console.log(e.message || e); }); } diff --git a/package.json b/package.json index 165a126..1598d6b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "npm-publish-action-using-node", - "version": "0.1.2", + "version": "0.1.3", "description": "GitHub action to automatically publish packages to npm (using node instead of docker)", "author": "Pascal", "contributors": [