From 43d4095cae12815b587d38b2446403690f059ae5 Mon Sep 17 00:00:00 2001 From: LIRUI <298977887@qq.com> Date: Tue, 19 Nov 2024 00:43:41 +0800 Subject: [PATCH] 1119.1 --- .github/workflows/A.yml | 15 ++++++++++----- .github/workflows/LEDE-介绍更新.yml | 8 ++++---- 2 files changed, 14 insertions(+), 9 deletions(-) diff --git a/.github/workflows/A.yml b/.github/workflows/A.yml index 5ae3bd6..01e8b99 100644 --- a/.github/workflows/A.yml +++ b/.github/workflows/A.yml @@ -9,15 +9,20 @@ jobs: job_a: runs-on: ubuntu-latest steps: + # 中文注释:工作流程 A 中的步骤 1 - name: Step 1 in Workflow A run: echo "Running Workflow A" + # 中文注释:工作流程 A 中的步骤 2 - name: Create completion marker for Workflow A run: echo "done" > marker_a + + # 中文注释:工作流程 A 中的步骤 3 - name: Commit marker run: | - git config user.name "Gitea CI" - git config user.email "ci@example.com" - git add marker_a - git commit -m "Add completion marker for A" - git push + git config user.name "Gitea CI" # 中文注释:设置提交代码的用户名 + git config user.email "ci@example.com" # 中文注释:设置提交代码的邮箱 + git add marker_a # 中文注释:将 marker_a 文件添加到暂存区 + git commit -m "Add completion marker for A" # 中文注释:提交代码 + # git push # 中文注释:推送代码到远程仓库 + git push diff --git a/.github/workflows/LEDE-介绍更新.yml b/.github/workflows/LEDE-介绍更新.yml index b829d40..b14b737 100644 --- a/.github/workflows/LEDE-介绍更新.yml +++ b/.github/workflows/LEDE-介绍更新.yml @@ -123,12 +123,12 @@ jobs: LUCI_VERSION="${LUCI_VERSION_FORMATTED}" NEW_CONTENT="\n\n" - NEW_CONTENT+="![Latest Version](https://img.shields.io/badge/固件版本-${DISTRIB_REVISION}-brightgreen)\n" - NEW_CONTENT+="![Based on OpenWrt](https://img.shields.io/badge/内核版本-${KERNEL_VERSION}-00bfff)\n" + NEW_CONTENT+="![Latest Version](https://img.shields.io/badge/固件版本-${DISTRIB_REVISION}-brightgreen)" + NEW_CONTENT+="![Based on OpenWrt](https://img.shields.io/badge/内核版本-${KERNEL_VERSION}-00bfff)" NEW_CONTENT+="![LuCI Version](https://img.shields.io/badge/LuCI_版本-${LUCI_VERSION}-blueviolet)\n" NEW_CONTENT+="![Architecture](https://img.shields.io/badge/适用架构-${ARCHITECTURE}-ff69b4)\n" - NEW_CONTENT+="![File Size](https://img.shields.io/badge/文件大小-${FILE_SIZE}-orange)\n" - NEW_CONTENT+="![Release Date](https://img.shields.io/badge/发布日期-${RELEASE_DATE}-blue)\n\n" + NEW_CONTENT+="![File Size](https://img.shields.io/badge/文件大小-${FILE_SIZE}-orange)" + NEW_CONTENT+="![Release Date](https://img.shields.io/badge/发布日期-${RELEASE_DATE}-blue)\n" NEW_CONTENT+="" # 替换标记范围内的内容