actions-hugo/src/index.ts
Shohei Ueda 94853340b9
fix: action failure status (#151)
Close #149

* chore: fix path to .gitconfig
2020-01-25 12:42:32 +09:00

8 lines
159 B
TypeScript

import * as core from '@actions/core';
import * as main from './main';
try {
main.run();
} catch (e) {
core.setFailed(`Action failed with error ${e}`);
}