This commit is contained in:
Wathanyu Phromma
2020-05-29 20:43:34 +07:00
parent 0dc2bd58cd
commit f20f4f6a76
3 changed files with 12 additions and 1 deletions

5
dist/index.js vendored
View File

@@ -17,6 +17,11 @@ var util_1 = require("./util");
function sleep(ms) {
return new Promise(function (resolve) { return setTimeout(resolve, ms); });
}
process.on('uncaughtException', function (err) {
sleep(5000);
core.debug("Hahahaha");
core.setFailed("eiei");
});
try {
if (core.getInput('custom-config')) {
var configPath = core.getInput('custom-config');