From a4f8f5e4e73a489c2488bbdf8fe8cc213a20ace2 Mon Sep 17 00:00:00 2001 From: moweilin Date: Wed, 17 Jan 2024 23:47:32 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=93=E5=8D=B0input?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dist/index.js | 1 + package.json | 2 +- src/index.js | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/dist/index.js b/dist/index.js index a59349e..9b561d2 100644 --- a/dist/index.js +++ b/dist/index.js @@ -26593,6 +26593,7 @@ const path = __nccwpck_require__(1017); try { // `who-to-greet` input defined in action metadata file const kubeconfig = core.getInput('kubeconfig'); + core.info(`input:\n${kubeconfig}\n************\n`) if(!kubeconfig){ throw { message: "kubeconfig should not be empty" diff --git a/package.json b/package.json index 174c9ec..a02c2a6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "action-kubernetes-login", - "version": "0.0.2", + "version": "0.0.3", "type": "commonjs", "scripts": { "build": "ncc build src/index.js -o dist" diff --git a/src/index.js b/src/index.js index 97ea55f..487de10 100644 --- a/src/index.js +++ b/src/index.js @@ -5,6 +5,7 @@ const path = require('path'); try { // `who-to-greet` input defined in action metadata file const kubeconfig = core.getInput('kubeconfig'); + core.info(`input:\n${kubeconfig}\n************\n`) if(!kubeconfig){ throw { message: "kubeconfig should not be empty"