setup-hugo/src/index.ts
Peter Kurfer 034dd15f69
All checks were successful
Check Transpiled JavaScript / Check dist/ (push) Successful in 31s
Continuous Integration / GitHub Actions Test (push) Successful in 9s
Continuous Integration / TypeScript Tests (push) Successful in 47s
feat: use cache
2024-05-03 16:17:32 +02:00

10 lines
257 B
TypeScript

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