mirror of
				https://github.com/pnpm/action-setup.git
				synced 2025-11-04 03:28:19 +08:00 
			
		
		
		
	Try different ways
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
											
										
									
								
							@@ -6,7 +6,11 @@ import pnpmInstall from './pnpm-install'
 | 
			
		||||
 | 
			
		||||
async function main() {
 | 
			
		||||
  const isPost = getState('isPost')
 | 
			
		||||
  console.log({ isPost })
 | 
			
		||||
  console.log({
 | 
			
		||||
    is_post: getState('is_post'),
 | 
			
		||||
    isPost: getState('isPost'),
 | 
			
		||||
    STATE_isPost: process.env['STATE_isPost'],
 | 
			
		||||
  })
 | 
			
		||||
  if (isPost) {
 | 
			
		||||
    return
 | 
			
		||||
  }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user