setup-hugo/src/index.ts

10 lines
219 B
TypeScript
Raw Normal View History

2024-05-02 16:38:23 +00:00
import * as core from '@actions/core'
import * as main from './main'
;(async (): Promise<void> => {
try {
await main.run()
} catch (e: any) {
core.setFailed(`Action failed with error ${e.message}`)
}
})()