From def7ee0303b163533c83cae4f092799e8a5cf7f2 Mon Sep 17 00:00:00 2001 From: Colin McDonnell Date: Wed, 17 Dec 2025 11:49:05 -0800 Subject: [PATCH] Fix logging --- entry | 2 +- utils/cli.ts | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/entry b/entry index 5fcc113..ff968d4 100755 --- a/entry +++ b/entry @@ -80222,7 +80222,7 @@ var package_default = { var core = __toESM(require_core(), 1); var import_table = __toESM(require_src(), 1); var isGitHubActions = !!process.env.GITHUB_ACTIONS; -var isDebugEnabled = () => process.env.LOG_LEVEL === "debug"; +var isDebugEnabled = () => process.env.LOG_LEVEL === "debug" || process.env.ACTIONS_STEP_DEBUG === "true"; function startGroup2(name) { if (isGitHubActions) { core.startGroup(name); diff --git a/utils/cli.ts b/utils/cli.ts index adcdb98..3fbedf0 100644 --- a/utils/cli.ts +++ b/utils/cli.ts @@ -8,7 +8,8 @@ import * as core from "@actions/core"; import { table } from "table"; const isGitHubActions = !!process.env.GITHUB_ACTIONS; -const isDebugEnabled = () => process.env.LOG_LEVEL === "debug"; +const isDebugEnabled = () => + process.env.LOG_LEVEL === "debug" || process.env.ACTIONS_STEP_DEBUG === "true"; /** * Start a collapsed group (GitHub Actions) or regular group (local)