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
Unecessary newlines added to console output #777
Comments
The runner processes line by line so we won't be able to filter this line out without completely revamping that process, which is unlikely to be done in the near future. We could instead add a comment that we are setting the output, does that sound better to you? |
Yes sounds better. This modification was about a security issue? |
As a workaround, you can do something like this:
which is equivalent to:
but doesn't output any empty lines to the log. Sure, it's a hack but in my opinion the whole idea to use the standard output both for logging and for communication with the runner wasn't the best design choice in the first place. |
This should be "fixed" by #1178, right? |
toolkit/packages/core/src/core.ts Line 198 in 4fbc5c9
|
toolkit/packages/core/src/core.ts Lines 193 to 196 in 3a95e19
|
Looks like 2.298.2 would fix it I guess but still 2.296.1 being used on public runners. |
It seems like the workflow run you referenced has been executed 29 days ago. The public runners have been updated in the meantime and - at least in my case - the change introduced in #1178 is working properly, see for example fkirc/skip-duplicate-actions#285. |
#772 adds newlines in step console output which seems not right to me.
Before this change:
After:
Another example with consecutive setOutput used programmatically:
Could it be filtered out please or at least optional?
cc. @ericsciple
Thanks
The text was updated successfully, but these errors were encountered: