mirror of
https://github.com/pnpm/action-setup.git
synced 2024-12-23 16:36:30 +08:00
Use console.log
This commit is contained in:
parent
c3e0d9f20f
commit
0fa2b7d3a5
|
@ -1,4 +1,4 @@
|
||||||
import { setFailed, getState, debug } from '@actions/core'
|
import { setFailed, getState } from '@actions/core'
|
||||||
import getInputs from './inputs'
|
import getInputs from './inputs'
|
||||||
import setOutputs from './outputs'
|
import setOutputs from './outputs'
|
||||||
import installPnpm from './install-pnpm'
|
import installPnpm from './install-pnpm'
|
||||||
|
@ -6,7 +6,7 @@ import pnpmInstall from './pnpm-install'
|
||||||
|
|
||||||
async function main() {
|
async function main() {
|
||||||
const isPost = getState('isPost')
|
const isPost = getState('isPost')
|
||||||
debug(JSON.stringify(isPost))
|
console.log({ isPost })
|
||||||
if (isPost) {
|
if (isPost) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user