Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use GitHub Actions diagnostics flag in CI #453
base: main
Are you sure you want to change the base?
Use GitHub Actions diagnostics flag in CI #453
Changes from 4 commits
a54d2b5
641976c
aa91144
2f3e626
0b50ad7
f4653a2
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, doesn't seem to be picking it up, should it just be a straight
ACTIONS_RUNNER_DEBUG
orsecrets.ACTIONS_RUNNER_DEBUG
?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, just found this, it may just be
${{ runner.debug }}
https://stackoverflow.com/questions/75434105/how-to-determine-if-the-github-action-is-running-with-debug-logging-enabledFrom runner context doc - https://docs.github.com/en/actions/learn-github-actions/contexts#runner-context - this seems to be what corresponds to the checkbox. Not sure what that other doc is about...
We should update the comment too
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking at the originally linked docs, I think I see why
ACTIONS_RUNNER_DEBUG
didn't enable verbose logging. From the docs:Maybe we need to enable step debug logging instead via
ACTIONS_STEP_DEBUG
, which:As for the
runner.debug
context value, the docs for this seem to point to the same docs used before 🤔We can try both, but let's start with
ACTIONS_STEP_DEBUG
and see if that works.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like
ACTIONS_STEP_DEBUG
didn't do it either, let's tryrunner.debug
thenThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Posted here as well, but
runner.debug
didn't work as expected.runner
isn't recognized.