1119.1
All checks were successful
LEDE-介绍更新 / job_1 (push) Successful in 1m19s

This commit is contained in:
298977887 2024-11-19 00:43:41 +08:00
parent d981d14966
commit 43d4095cae
2 changed files with 14 additions and 9 deletions

View File

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

View File

@ -123,12 +123,12 @@ jobs:
LUCI_VERSION="${LUCI_VERSION_FORMATTED}"
NEW_CONTENT="<!--action-tag-start-->\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+="<!--action-tag-end-->"
# 替换标记范围内的内容