File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -83,11 +83,9 @@ function main {
83
83
if [[ -z " $diff " ]]; then
84
84
output=" No differences found between $INPUT_BASE_REF and $INPUT_HEAD_REF "
85
85
else
86
- output=$( printf " Differences between %s and %s:\n \`\`\` diff\n%s\n \`\`\` \n " " $INPUT_BASE_REF " " $INPUT_HEAD_REF " " $diff " )
86
+ output=$( printf " %s " " $diff " )
87
87
fi
88
88
89
- set -e
90
- output=$( printf " \`\`\` diff\n%s\n\`\`\` \n" " $diff " )
91
89
escaped_output=${output// $' \n ' / ' %0A' }
92
90
93
91
# If escaped output is longer than 65000 characters return "output to large to print as a github comment"
@@ -96,7 +94,6 @@ function main {
96
94
fi
97
95
98
96
echo " ::set-output name=diff::$escaped_output "
99
- printf " \n\nOutput: %s\n" " $escaped_output "
100
97
}
101
98
102
99
# Print initial configuration
You can’t perform that action at this time.
0 commit comments