github-script icon indicating copy to clipboard operation
github-script copied to clipboard

debug: true does nothing.

Open TWiStErRob opened this issue 3 years ago • 0 comments

Describe the bug debug: true does nothing.

To Reproduce Steps to reproduce the behavior:

  1. Normal run without debugging: https://github.com/TWiStErRob/github-actions-test/runs/6740560658
  2. debug: false, all good
  3. Re-ran with Enable debug logging (see also https://github.com/actions/github-script/issues/264): https://github.com/TWiStErRob/github-actions-test/runs/6740567848
  4. debug: true, but nothing output

I also tried without accessing the secret, hardcoding it too many times, but nothing. Here's example: https://github.com/TWiStErRob/net.twisterrob.sun/pull/91/commits/33b74f6fe5c51167c7b46b3c8ab7505a2df487a2 See the "Publish "Gradle" result and Build Scan URL." step right after the failure.

Expected behavior As documented https://github.com/actions/github-script/blob/7a5c598405937d486b0331594b5da2b14db670da/action.yml#L16

Screenshots debug: false image]

debug: true image

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser Chrome
  • Version latest

Additional context I have a repo where the code shown in the example doesn't create a commit status, and trying to debug it. Without debug: true working, I'm giving up.

TWiStErRob avatar Jun 04 '22 20:06 TWiStErRob