mirror of
https://github.com/peaceiris/actions-hugo.git
synced 2025-06-18 01:55:29 +08:00
12 lines
250 B
TypeScript
12 lines
250 B
TypeScript
import * as core from '@actions/core';
|
|
import * as main from './main';
|
|
|
|
(async (): Promise<void> => {
|
|
try {
|
|
await main.run();
|
|
} catch (e) {
|
|
// eslint-ignore-next-line
|
|
core.setFailed(`Action failed with error ${e.message}`);
|
|
}
|
|
})();
|