setup-pnpm/src/index.ts

13 lines
271 B
TypeScript
Raw Normal View History

2020-05-08 14:06:16 +08:00
import { setFailed } from '@actions/core'
import getInputs from './inputs'
import install from './install'
const inputs = getInputs()
install(inputs).then(() => {
console.log('Installation Completed!')
}).catch(error => {
console.error(error)
setFailed(error)
})