scala-steward-action icon indicating copy to clipboard operation
scala-steward-action copied to clipboard

Attempting to debug fails

Open jyrkih opened this issue 2 years ago • 0 comments

Per readme, debugging should be enabled by setting repository secret:

For this you must set the following secret in the repository that contains the workflow: ACTIONS_STEP_DEBUG to true (as stated in GitHub's documentation).

but actually, the code reads process environment, not repository secrets: const debug = 'ACTIONS_STEP_DEBUG' in process.env ? ['--java-opt', '-DLOG_LEVEL=TRACE', '-DROOT_LOG_LEVEL=TRACE'] : [] which was added in #297.

When setting environment value ACTIONS_STEP_DEBUG=true, I get an error:

Launching org.scala-steward:scala-steward-core_2.13:0.14.0 Error: Unrecognized argument: -DROOT_LOG_LEVEL=TRACE ::endgroup::

jyrkih avatar Aug 12 '22 12:08 jyrkih