Skip to content

Commit

Permalink
update Utils.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
erichiller committed Feb 7, 2024
1 parent 2742b5c commit a370e3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PlotGitHubAction/Utils/Utils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ public static void SetGitHubActionsOutput( GitHubActionOutputId name, string val
if ( !String.IsNullOrWhiteSpace( githubOutputFile ) ) {
Log.Debug( $"Writing output '{name}' with value '{value}' to: {githubOutputFile}" );
using var textWriter = new StreamWriter( githubOutputFile, true, Encoding.UTF8 );
if( value.Contains(System.Environment.NewLine) {
if( value.Contains(System.Environment.NewLine)) {
// for multiline content:
textWriter.WriteLine( $"{name}<<EOF" );
textWriter.WriteLine( value );
Expand Down

0 comments on commit a370e3a

Please sign in to comment.