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

This commit is contained in:
298977887 2024-10-28 23:33:54 +08:00
parent be85656272
commit 42f94c0b9a

View File

@ -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