actions-hugo/src/index.ts
2024-08-12 13:17:37 +02:00

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}`);
}
})();