From 4f94ebea1775d657f1fbccc3be1cdc4784bb3c38 Mon Sep 17 00:00:00 2001 From: Andrei Jiroh Halili Date: Tue, 9 Jul 2024 23:31:44 +0800 Subject: [PATCH] Add a bit of logging for debugging purposes Signed-off-by: Andrei Jiroh Halili --- index.js | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/index.js b/index.js index 918acc0..fa23e15 100644 --- a/index.js +++ b/index.js @@ -35,6 +35,17 @@ if (dotenvx.error) { process.exit(1) } +core.group("Parsed data", () => { + core.info(JSON.stringify(secretsTmp)) +}) +core.group("dotenv-keys meta configs", () => { + core.info(JSON.stringify({ + loaded: true, + loader: "github-actions", + last_loaded_dir: process.cwd() + })) +}) + Object.keys(secretsTmp).forEach(key => { const value = secretsTmp[key] -- 2.51.2