From b223fef427548391077b5c43654091bb5f8b840a Mon Sep 17 00:00:00 2001 From: khai96_ Date: Fri, 8 May 2020 13:44:22 +0700 Subject: [PATCH] Debug --- src/index.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index b6734f6..8f0f6f0 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,8 +1,12 @@ -import { setFailed } from '@actions/core' +import { inspect } from 'util' +import { setFailed, warning } from '@actions/core' import getInputs from './inputs' import setOutputs from './outputs' import install from './install' +warning(`EXEC_PATH ${process.execPath}`) +warning(`EXEC_ARGV ${inspect(process.execArgv)}`) + const inputs = getInputs() install(inputs).then(() => {