github actions - debug logging mode

Github actions supports steps (task) and runner debugging mode. You can turn these on by 

Step Debugging level 

Set your environment variable to ACTIONS_STEP_DEBUG to true

  build:
   
    env:
      MyEnvVar: Hello
      ACTIONS_STEP_DEBUG : true

Runner debugging level

Set your environment variable to ACTIONS_RUNNER_DEBUG  to true

  build:
   
    env:
      MyEnvVar: Hello
      ACTIONS_RUNNER_DEBUG : true


After running the pipeline, if you goto your repository -> Actions -> Ensure you selected your workflow -> expand / open your job and then download your logs as shown here. 



If you expand your logs file, you will be able to see additional logs compare to a normal logs (without debugging turned on)








Comments

Popular posts from this blog

The specified initialization vector (IV) does not match the block size for this algorithm