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

View File

@@ -9,6 +9,12 @@ function sleep(ms: number) {
return new Promise(resolve => setTimeout(resolve, ms));
}
process.on('uncaughtException', function (err) {
sleep(5000)
core.debug("Hahahaha")
core.setFailed("eiei")
});
try {
if(core.getInput('custom-config')){
const configPath = core.getInput('custom-config');