mirror of
				https://github.com/pnpm/action-setup.git
				synced 2025-11-04 11:22:11 +08:00 
			
		
		
		
	PNPM_HOME_PATH=>PNPM_HOME
This commit is contained in:
		@@ -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