mirror of
https://github.com/threeal/cmake-action.git
synced 2025-04-18 18:01:20 +00:00
feat: catch error when calling the main
function (#138)
This commit is contained in:
parent
65845a480e
commit
dd9fe54799
2
dist/index.mjs
generated
vendored
2
dist/index.mjs
generated
vendored
@ -27302,7 +27302,7 @@ async function main() {
|
||||
]);
|
||||
}
|
||||
}
|
||||
main();
|
||||
main().catch((err) => _actions_core__WEBPACK_IMPORTED_MODULE_0__.setFailed(err));
|
||||
|
||||
})();
|
||||
|
||||
|
@ -75,4 +75,4 @@ async function main() {
|
||||
}
|
||||
}
|
||||
|
||||
main();
|
||||
main().catch((err) => core.setFailed(err));
|
||||
|
Loading…
Reference in New Issue
Block a user