1028.yml
All checks were successful
翻译更新日志 / generate_changelog (push) Successful in 23s

This commit is contained in:
298977887 2024-10-28 23:46:22 +08:00
parent 4d4a5d9b1c
commit 2ca2a0935b

View File

@ -85,15 +85,14 @@ jobs:
ENGLISH_TEXT: ${{ steps.fetch_commits.outputs.messages }}
CHINESE_TEXT: ${{ steps.translate.outputs.translated_text }}
run: |
# 创建 Markdown 表格,使用 Here Document
# 使用四个空格缩进英文和中文内容,确保 Markdown 表格格式显示正确
cat <<EOF > ./更新日志对照表格.md
| 英文原文 | 中文翻译 |
| --- | --- |
| \`\`\`
$ENGLISH_TEXT
\`\`\` | \`\`\`
$CHINESE_TEXT
\`\`\` |
|
$ENGLISH_TEXT
|
$CHINESE_TEXT
EOF
# 输出表格内容,方便调试