mirror of
https://github.com/threeal/cmake-action.git
synced 2026-02-01 19:40:49 +00:00
feat: catch error when calling the main function (#138)
This commit is contained in:
@@ -75,4 +75,4 @@ async function main() {
|
||||
}
|
||||
}
|
||||
|
||||
main();
|
||||
main().catch((err) => core.setFailed(err));
|
||||
|
||||
Reference in New Issue
Block a user