打印input
This commit is contained in:
parent
986fa0612a
commit
a4f8f5e4e7
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in New Issue