mirror of
https://github.com/peaceiris/actions-gh-pages.git
synced 2025-07-16 23:43:21 +08:00
11 lines
207 B
TypeScript
11 lines
207 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 "${e}"`);
|
|
}
|
|
})();
|