2020-01-25 03:42:32 +00:00
|
|
|
import * as core from '@actions/core';
|
2020-01-18 01:29:06 +00:00
|
|
|
import * as main from './main';
|
2019-09-21 01:41:21 +00:00
|
|
|
|
2020-06-21 04:16:10 +00:00
|
|
|
(async (): Promise<void> => {
|
|
|
|
try {
|
|
|
|
await main.run();
|
|
|
|
} catch (e) {
|
|
|
|
core.setFailed(`Action failed with error ${e.message}`);
|
|
|
|
}
|
|
|
|
})();
|