Preserving newlines is done differently when writing to $GITHUB_OUTPUT over the deprecated :set-output: command.