diff options
| author | Kisaragi <48310258+KisaragiEffective@users.noreply.github.com> | 2024-09-24 09:50:18 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-24 09:50:18 +0900 |
| commit | 23a07c2706e684fa95d8d0f375e98387728a8d83 (patch) | |
| tree | bdb7928086aae845e938c40b0ed9b0825ad24873 /.github/workflows/report-api-diff.yml | |
| parent | Fix: Continue importing from file if single emoji import fails (#14461) (diff) | |
| download | sharkey-23a07c2706e684fa95d8d0f375e98387728a8d83.tar.gz sharkey-23a07c2706e684fa95d8d0f375e98387728a8d83.tar.bz2 sharkey-23a07c2706e684fa95d8d0f375e98387728a8d83.zip | |
ci: fix syntax error (#14602)
Diffstat (limited to '.github/workflows/report-api-diff.yml')
| -rw-r--r-- | .github/workflows/report-api-diff.yml | 16 |
1 files 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 - <details> - <summary>差分はこちら</summary> - - \`\`\`diff - $(cat ./api.json.diff) - \`\`\` - </details> - EOF + echo '<details>' >> ./output.md + echo '<summary>差分はこちら</summary>' >> ./output.md + echo >> ./output.md + echo '```diff' >> ./output.md + cat ./api.json.diff >> ./output.md + echo '```' >> ./output.md + echo '</details>' >> .output.md fi echo "$FOOTER" >> ./output.md |