Release v1.3.8 测试生成readme.md
All checks were successful
自动版本发布 / AutoRelease (push) Successful in 15s

This commit is contained in:
liyp 2025-04-12 14:54:39 +08:00
parent 8e5b915632
commit 2d06b7d8fd
2 changed files with 5 additions and 7 deletions

View File

@ -1,23 +1,21 @@
name: 自动生成README.md
# 定义触发条件,这里设置为当有新的发布创建时触发
on:
release:
types: [created]
jobs:
create-readme:
# 工作在ubuntu-latest系统中
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'AutoRelease.md')"
# 以下是steps
steps:
- name: 检出仓库
uses: https://gitee.com/actions-mirror/checkout@v4
with:
fetch-depth: 0
# 启用子模块支持
submodules: true
submodules: false
- name: 设置环境变量
env:
@ -31,7 +29,7 @@ jobs:
echo "Name = $CURRENT_USER_NAME"
echo "Email = $CURRENT_USER_EMAIL"
# - name: 检出仓库
# env:
# GITEA_TOKEN: ${{ secrets.AUTOGENERATE }}

View File

@ -19,7 +19,7 @@ jobs:
with:
fetch-depth: 0
# 启用子模块支持
submodules: true
submodules: false
- name: 设置环境变量
env: