diff --git a/.github/workflows/翻译更新日志 copy.yml b/.github/workflows/翻译更新日志 copy.yml index 34a37b4..4f73198 100644 --- a/.github/workflows/翻译更新日志 copy.yml +++ b/.github/workflows/翻译更新日志 copy.yml @@ -79,4 +79,10 @@ jobs: echo "${{ steps.translate.outputs.translated_text }}" > ./更新日志.txt cat ./更新日志.txt - + # 4. 创建中英文对照的更新日志,使用markdown格式的表格展示 + - name: 生成中英文对照的更新日志 + run: | + echo "| 英文原文 | 中文翻译 |" > ./更新日志对照表格.md + echo "| --- | --- |" >> ./更新日志对照表格.md + echo "| ${{ steps.fetch_commits.outputs.messages }} | ${{ steps.translate.outputs.translated_text }} |" >> ./更新日志对照表格.md + cat ./更新日志对照表格.md