Skip to content

Commit c697324

Browse files
committed
fix: allow multiline output
1 parent 507cd8c commit c697324

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dependency_updater/dependency_updater.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,8 @@ func writeToGithubOutput(title string, description string, repoPath string) erro
359359
return fmt.Errorf("failed to write to GITHUB_OUTPUT file: %s", err)
360360
}
361361

362-
descToWrite := fmt.Sprintf("%s=%s\n", "DESC", description)
362+
delimiter := "EOF"
363+
descToWrite := fmt.Sprintf("%s<<%s\n%s%s\n", "DESC", delimiter, description, delimiter)
363364
_, err = f.WriteString(descToWrite)
364365
if err != nil {
365366
return fmt.Errorf("failed to write to GITHUB_OUTPUT file: %s", err)

0 commit comments

Comments
 (0)