nuke-build / nuke

🏗 The AKEless Build System for C#/.NET
https://nuke.build
MIT License
3.07k stars 369 forks source link

Add support to detect GitHub actions debug logging #1359

Open Sam13 opened 8 months ago

Sam13 commented 8 months ago

Encapsulates detection whether GHA debug logging is enabled or not. When enabled (via various mechanisms documented below) the environment variable RUNNER_DEBUG is set to 1.

https://docs.github.com/en/actions/learn-github-actions/variables#default-environment-variables https://docs.github.com/en/actions/monitoring-and-troubleshooting-workflows/enabling-debug-logging

I confirm that the pull-request: