Fix logging

This commit is contained in:
Colin McDonnell
2025-12-17 11:49:05 -08:00
parent db950ebe76
commit def7ee0303
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -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)