mirror of
				https://github.com/pnpm/action-setup.git
				synced 2025-10-29 07:47:18 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
		
			373 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			373 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
| 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
 | 
