diff --git a/index.js b/index.js index 6736e8b..4acf2bc 100644 --- a/index.js +++ b/index.js @@ -3,8 +3,12 @@ const fs = require('fs') const execa = require('execa') void function main() { - ssh() - dep() + try { + ssh() + dep() + } catch (err) { + core.setFailed(err.message) + } }() function ssh() {