mirror of
https://github.com/peaceiris/actions-gh-pages.git
synced 2025-07-15 22:56:54 +08:00
* test: remove main * test: add getPublishRepo() * test: Add setPersonalToken() * test: Add setGithubToken() * test: add showInputs() * test: .nojekyll already exists * test: ignore jest/expect-expect * refactor: squash inputs log * fix: throw error message
11 lines
215 B
TypeScript
11 lines
215 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.message}"`);
|
|
}
|
|
})();
|