ci: fix syntax error (#14602)
This commit is contained in:
parent
689848943b
commit
23a07c2706
16
.github/workflows/report-api-diff.yml
vendored
16
.github/workflows/report-api-diff.yml
vendored
@ -79,15 +79,13 @@ jobs:
|
|||||||
if (( "$DIFF_BYTES" <= 1 )); then
|
if (( "$DIFF_BYTES" <= 1 )); then
|
||||||
echo '差分はありません。' >> ./output.md
|
echo '差分はありません。' >> ./output.md
|
||||||
else
|
else
|
||||||
cat <<- EOF >> ./output.md
|
echo '<details>' >> ./output.md
|
||||||
<details>
|
echo '<summary>差分はこちら</summary>' >> ./output.md
|
||||||
<summary>差分はこちら</summary>
|
echo >> ./output.md
|
||||||
|
echo '```diff' >> ./output.md
|
||||||
\`\`\`diff
|
cat ./api.json.diff >> ./output.md
|
||||||
$(cat ./api.json.diff)
|
echo '```' >> ./output.md
|
||||||
\`\`\`
|
echo '</details>' >> .output.md
|
||||||
</details>
|
|
||||||
EOF
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "$FOOTER" >> ./output.md
|
echo "$FOOTER" >> ./output.md
|
||||||
|
Loading…
Reference in New Issue
Block a user