From a035e38233dc4fc37053bb7b8387ca4abc114d28 Mon Sep 17 00:00:00 2001 From: Mike Penz Date: Tue, 14 Sep 2021 13:26:01 +0200 Subject: [PATCH] - introduce additional logging to better identify if configuration was configured and properly loaded. - print configuration as json in debug --- src/utils.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/utils.ts b/src/utils.ts index 8328ed9..f92a53d 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -53,7 +53,13 @@ export function resolveConfiguration( const providedConfiguration = readConfiguration(configurationPath) if (providedConfiguration) { configuration = providedConfiguration + core.info(`ℹ️ Configuration successfully loaded.`) + if (core.isDebug()) { + core.debug(`configuration = ${JSON.stringify(configuration)}`) + } } + } else { + core.info(`ℹ️ Configuration not provided. Using Defaults.`) } return configuration }