forked from actions/runner
-
-
Notifications
You must be signed in to change notification settings - Fork 17
Test a workflow with debug logs
ChristopherHX edited this page Nov 6, 2022
·
1 revision
To enable step debugging, do it similar like on GitHub Actions and provide the secret ACTIONS_STEP_DEBUG
Runner.Client -s ACTIONS_STEP_DEBUG=true
If you want to get the runner debug logs, enable them and provide an destination path.
Runner.Client -s ACTIONS_RUNNER_DEBUG=true --artifact-output-dir myartifacts
The runner debug logs are stored in the myartifacts
folder, which is created automatically if it doesn't exist yet.
Recent versions of actions/runner also allow to use non secret variables for enabling ACTIONS_STEP_DEBUG Requires runner.server version 3.10.2 or newer and actions/runner 2.299.1 or newer, tell the client to download and use the official actions/runner with the required version.
Runner.Client --var ACTIONS_STEP_DEBUG=true --runner-version 2.299.1