Complete basic
This commit is contained in:
parent
21f3fd8b57
commit
7d62586afe
3 changed files with 26 additions and 11 deletions
12
src/index.ts
Normal file
12
src/index.ts
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
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)
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue