mirror of
				https://github.com/pnpm/action-setup.git
				synced 2025-11-04 03:28:19 +08:00 
			
		
		
		
	PNPM_HOME_PATH=>PNPM_HOME
This commit is contained in:
		
							
								
								
									
										2
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							@@ -30,10 +30,7 @@ export async function runSelfInstaller(inputs: Inputs): Promise<number> {
 | 
			
		||||
  if (exitCode === 0) {
 | 
			
		||||
    const pnpmHome = join(dest, 'node_modules/.bin')
 | 
			
		||||
    core.addPath(pnpmHome)
 | 
			
		||||
    // This environment variable will be available in future steps as PNPM_HOME
 | 
			
		||||
    // It is written as PNPM_HOME_PATH due to a convention in GitHub actions:
 | 
			
		||||
    // > Any new environment variables you set that point to a location on the filesystem should have a _PATH suffix.
 | 
			
		||||
    core.exportVariable('PNPM_HOME_PATH', pnpmHome)
 | 
			
		||||
    core.exportVariable('PNPM_HOME', pnpmHome)
 | 
			
		||||
  }
 | 
			
		||||
  return exitCode
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user