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
1 changed files with 7 additions and 9 deletions

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