mirror of
				https://github.com/pnpm/action-setup.git
				synced 2025-11-04 13:29:08 +08:00 
			
		
		
		
	Use console.log
This commit is contained in:
		@@ -1,4 +1,4 @@
 | 
			
		||||
import { setFailed, getState, debug } from '@actions/core'
 | 
			
		||||
import { setFailed, getState } from '@actions/core'
 | 
			
		||||
import getInputs from './inputs'
 | 
			
		||||
import setOutputs from './outputs'
 | 
			
		||||
import installPnpm from './install-pnpm'
 | 
			
		||||
@@ -6,7 +6,7 @@ import pnpmInstall from './pnpm-install'
 | 
			
		||||
 | 
			
		||||
async function main() {
 | 
			
		||||
  const isPost = getState('isPost')
 | 
			
		||||
  debug(JSON.stringify(isPost))
 | 
			
		||||
  console.log({ isPost })
 | 
			
		||||
  if (isPost) {
 | 
			
		||||
    return
 | 
			
		||||
  }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user