mirror of
https://github.com/pnpm/action-setup.git
synced 2024-12-23 16:36:30 +08:00
13 lines
271 B
TypeScript
13 lines
271 B
TypeScript
|
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)
|
||
|
})
|