From 42f94c0b9af3db46a0c6128b1b722865a6d50cc4 Mon Sep 17 00:00:00 2001 From: LIRUI <298977887@qq.com> Date: Mon, 28 Oct 2024 23:33:54 +0800 Subject: [PATCH] 1028.yml --- .github/workflows/翻译更新日志 copy.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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