-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Show more information in the runner log #2377
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
Conversation
src/Runner.Worker/JobExtension.cs
Outdated
| context.Output($"Uses: {workflowFileFullPath.Value}"); | ||
| var usesOutput = $"Uses: {workflowFileFullPath.Value}"; | ||
| if (message.Variables.TryGetValue("system.workflowFileRef", out VariableValue workflowFileRef) | ||
| && message.Variables.TryGetValue("system.workflowFileSha", out VariableValue workflowFileSha)) |
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.
| && message.Variables.TryGetValue("system.workflowFileSha", out VariableValue workflowFileSha)) | |
| || message.Variables.TryGetValue("system.workflowFileSha", out VariableValue workflowFileSha)) |
should it be OR?
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 yea you are right :-)
Just to note, we are sending both values but in case the user is using reusable workflow using sha then workflowFileRef will be empty. Still that will return true for this TryGetValue, so it should not matter much.
* fix typo * add workflow ref in the log * show job name for all jobs * update ref * reflect the feedback * fix a small bug
To provide more information in the run log, add
Actions service side PR: https://github.com/github/actions-dotnet/pull/14151
Related to https://github.com/github/actions-enablers-policy/issues/704