Complete source code

This commit is contained in:
khai96_
2020-05-08 13:12:01 +07:00
parent 7d62586afe
commit 696222a6f3
2 changed files with 10 additions and 0 deletions

View File

@ -1,11 +1,13 @@
import { setFailed } from '@actions/core'
import getInputs from './inputs'
import setOutputs from './outputs'
import install from './install'
const inputs = getInputs()
install(inputs).then(() => {
console.log('Installation Completed!')
setOutputs(inputs)
}).catch(error => {
console.error(error)
setFailed(error)