import * as core from '@actions/core'; import * as main from './main'; (async (): Promise => { try { await main.run(); } catch (e) { core.setFailed(`Action failed with error ${e.message}`); } })();