Rename install to install-pnpm

This commit is contained in:
khai96_
2020-05-09 20:03:45 +07:00
parent 6fe65dc1af
commit 9a1617cf46
4 changed files with 3 additions and 3 deletions

14
src/install-pnpm/index.ts Normal file
View File

@@ -0,0 +1,14 @@
import { setFailed } from '@actions/core'
import { Inputs } from '../inputs'
import runSelfInstaller from './run'
export { runSelfInstaller }
export async function install(inputs: Inputs) {
const status = await runSelfInstaller(inputs)
if (status) {
return setFailed(`Something does wrong, self-installer exits with code ${status}`)
}
}
export default install