From b579fd6dfd8b6283dd197d677448bd2b04fda030 Mon Sep 17 00:00:00 2001 From: Yuichi Tanaka Date: Wed, 13 Oct 2021 21:21:07 +0900 Subject: [PATCH] Update comment on how to enable debug log (#279) To enable `core.debug` output, `ACTIONS_STEP_DEBUG` should be true instead of `ACTIONS_RUNNER_DEBUG`. https://docs.github.com/en/actions/managing-workflow-runs/enabling-debug-logging#enabling-step-debug-logging --- src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.ts b/src/main.ts index c1574d0..d94c982 100644 --- a/src/main.ts +++ b/src/main.ts @@ -4,7 +4,7 @@ import {wait} from './wait' async function run(): Promise { try { const ms: string = core.getInput('milliseconds') - core.debug(`Waiting ${ms} milliseconds ...`) // debug is only output if you set the secret `ACTIONS_RUNNER_DEBUG` to true + core.debug(`Waiting ${ms} milliseconds ...`) // debug is only output if you set the secret `ACTIONS_STEP_DEBUG` to true core.debug(new Date().toTimeString()) await wait(parseInt(ms, 10))