mirror of
https://github.com/peaceiris/actions-hugo.git
synced 2025-06-19 02:45:29 +08:00

* fix: add return type Co-authored-by: Shohei Ueda <30958501+peaceiris@users.noreply.github.com>
11 lines
219 B
TypeScript
11 lines
219 B
TypeScript
import * as core from '@actions/core';
|
|
import * as main from './main';
|
|
|
|
(async (): Promise<void> => {
|
|
try {
|
|
await main.run();
|
|
} catch (e) {
|
|
core.setFailed(`Action failed with error ${e.message}`);
|
|
}
|
|
})();
|