Skip to content

Commit 3433f9b

Browse files
committed
build.yaml: Avoid too long code_samples_usage.diff.md
1 parent a98cdab commit 3433f9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ jobs:
186186
echo '' >> code_samples_usage.diff.md
187187
php tools/code_samples/code_samples_usage_diff2html.php $HOME/code_samples_usage.diff >> code_samples_usage.diff.md
188188
echo '<a href="${{ steps.artifact.outputs.artifact-url }}">Download colorized diff</a>' >> code_samples_usage.diff.md
189-
if [[ `wc -c < code_samples_usage.diff.md | xargs` -ge $((2**16)) ]]; then
189+
if [[ `wc -m < code_samples_usage.diff.md | xargs` -ge $((2**16)) ]]; then
190190
echo '# code_samples/ change report' > code_samples_usage.diff.md
191191
echo '' >> code_samples_usage.diff.md
192192
echo 'Diff is too long to be displayed.' >> code_samples_usage.diff.md

0 commit comments

Comments
 (0)