mirror of
https://github.com/pnpm/action-setup.git
synced 2026-11-26 01:17:34 +08:00
Rename install to install-pnpm
This commit is contained in:
1 parent
6fe65dc1af
commit
9a1617cf46
4 files changed
+3
-3
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user