Flesh out debug logs

This commit is contained in:
Colin McDonnell
2025-12-17 13:11:44 -08:00
parent bd932e7696
commit 1f1c1602c5
9 changed files with 57 additions and 54 deletions
+4 -1
View File
@@ -9,7 +9,10 @@ import { table } from "table";
const isGitHubActions = !!process.env.GITHUB_ACTIONS;
const isDebugEnabled = () =>
process.env.LOG_LEVEL === "debug" || process.env.ACTIONS_STEP_DEBUG === "true";
process.env.LOG_LEVEL === "debug" ||
process.env.ACTIONS_STEP_DEBUG === "true" ||
process.env.RUNNER_DEBUG === "1" ||
core.isDebug();
/**
* Start a collapsed group (GitHub Actions) or regular group (local)