To enable step debug logging in a GitHub Actions workflow, you need to set a secret named ACTIONS_STEP_DEBUG to true in your repository. Here are the steps:
Navigate to your GitHub repository.
Click on the "Settings" tab.
In the left sidebar, click on "Secrets".
Click on the "New repository secret" button.
Enter ACTIONS_STEP_DEBUG as the name and true as the value.
Click on the "Add secret" button.
Now, when you run your workflow, each step will produce additional debug output in the logs.
Please note that this will enable debug logging for all workflows in your repository. If you want to enable debug logging for a specific workflow only, you can add the following step at the beginning of your workflow:
This will set the ACTIONS_STEP_DEBUG environment variable to true for the rest of the workflow. However, this will only enable additional logging for the steps that run after this step.
To enable step debug logging in a GitHub Actions workflow, you need to set a secret named
ACTIONS_STEP_DEBUG
totrue
in your repository. Here are the steps:ACTIONS_STEP_DEBUG
as the name andtrue
as the value.Now, when you run your workflow, each step will produce additional debug output in the logs.
Please note that this will enable debug logging for all workflows in your repository. If you want to enable debug logging for a specific workflow only, you can add the following step at the beginning of your workflow:
This will set the
ACTIONS_STEP_DEBUG
environment variable totrue
for the rest of the workflow. However, this will only enable additional logging for the steps that run after this step.