ci: fix syntax error (#14602)

This commit is contained in:
Kisaragi 2024-09-24 09:50:18 +09:00 committed by GitHub
parent 689848943b
commit 23a07c2706
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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