mirror of
https://github.com/peaceiris/actions-hugo.git
synced 2026-09-27 19:03:14 +00:00
ci: harden workflows and update Node.js (#686)
This commit is contained in:
+2
-1
@@ -5,6 +5,7 @@ import * as main from './main';
|
||||
try {
|
||||
await main.run();
|
||||
} catch (e) {
|
||||
core.setFailed(`Action failed with error ${e.message}`);
|
||||
const message = e instanceof Error ? e.message : String(e);
|
||||
core.setFailed(`Action failed with error ${message}`);
|
||||
}
|
||||
})();
|
||||
|
||||
Reference in New Issue
Block a user