mirror of
https://github.com/peaceiris/actions-hugo.git
synced 2026-01-25 04:12:17 +01:00
fix: action failure status (#151)
Close #149 * chore: fix path to .gitconfig
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
import * as core from '@actions/core';
|
||||
import * as main from './main';
|
||||
|
||||
main.run();
|
||||
try {
|
||||
main.run();
|
||||
} catch (e) {
|
||||
core.setFailed(`Action failed with error ${e}`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user