From 23a07c2706e684fa95d8d0f375e98387728a8d83 Mon Sep 17 00:00:00 2001
From: Kisaragi <48310258+KisaragiEffective@users.noreply.github.com>
Date: Tue, 24 Sep 2024 09:50:18 +0900
Subject: [PATCH] ci: fix syntax error (#14602)
---
.github/workflows/report-api-diff.yml | 16 +++++++---------
1 file changed, 7 insertions(+), 9 deletions(-)
diff --git a/.github/workflows/report-api-diff.yml b/.github/workflows/report-api-diff.yml
index 9fd1e28f01..1170f898ce 100644
--- a/.github/workflows/report-api-diff.yml
+++ b/.github/workflows/report-api-diff.yml
@@ -79,15 +79,13 @@ jobs:
if (( "$DIFF_BYTES" <= 1 )); then
echo '差分はありません。' >> ./output.md
else
- cat <<- EOF >> ./output.md
-
- 差分はこちら
-
- \`\`\`diff
- $(cat ./api.json.diff)
- \`\`\`
-
- EOF
+ echo '' >> ./output.md
+ echo '差分はこちら
' >> ./output.md
+ echo >> ./output.md
+ echo '```diff' >> ./output.md
+ cat ./api.json.diff >> ./output.md
+ echo '```' >> ./output.md
+ echo ' ' >> .output.md
fi
echo "$FOOTER" >> ./output.md