This commit is contained in:
parent
4d4a5d9b1c
commit
2ca2a0935b
11
.github/workflows/翻译更新日志 copy.yml
vendored
11
.github/workflows/翻译更新日志 copy.yml
vendored
@ -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
|
||||
|
||||
# 输出表格内容,方便调试
|
||||
|
Loading…
Reference in New Issue
Block a user