Wednesday, November 9, 2022

Enable Debug Logging in GitHub Actions

Trouble shooting automation pipelines are getting easier when we have enough details of the steps in the logs. In GitHub workflows, we can enable step debug logs to get detailed logs for job. This blog explains how to enable step debug logging in GitHub workflows.

Before enable step loggings, you will get less logs as shown in below image.


Let's enable step debug for the workflow.

Go to settings of the GitHub repo, expand secrets under security section. Click on "Actions". 


Click on "New Repository Secrets" to create new secret. Add ACTIONS_STEP_DEBUG as true.


Trigger workflow again once key added. You would be able to see more logs on workflow pipeline.




No comments:

Post a Comment