From 9fba850eb700547f51020004e4d8dcea67c33d68 Mon Sep 17 00:00:00 2001 From: David Hiendl Date: Sat, 2 Dec 2023 20:01:37 +0100 Subject: [PATCH] debug --- dist/index.js | 4 +++- src/action.js | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index 674936a..14c268d 100644 --- a/dist/index.js +++ b/dist/index.js @@ -62243,7 +62243,9 @@ function prepareDestinations(registries, tags) { try { const information = collect_all(true, false); - const debug = !!core.getInput('debug'); + let debug = core.getInput('debug') != null ? (!!core.getInput('debug')) : true; + console.log("debug=", debug) + debug=true let targetRegistries = []; const repoStr = github.context.repo.owner + '/' + github.context.repo.repo; diff --git a/src/action.js b/src/action.js index 0d2af9c..ef09f44 100644 --- a/src/action.js +++ b/src/action.js @@ -13,7 +13,9 @@ import { try { const information = action_information.collect_all(true, false); - const debug = !!core.getInput('debug'); + let debug = core.getInput('debug') != null ? (!!core.getInput('debug')) : true; + console.log("debug=", debug) + debug=true let targetRegistries = []; const repoStr = github.context.repo.owner + '/' + github.context.repo.repo;