From 2d06b7d8fdd5ca6b658bd8e264d77f3d2c6c1064 Mon Sep 17 00:00:00 2001 From: liyp Date: Sat, 12 Apr 2025 14:54:39 +0800 Subject: [PATCH] =?UTF-8?q?Release=20v1.3.8=20=E6=B5=8B=E8=AF=95=E7=94=9F?= =?UTF-8?q?=E6=88=90readme.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/AutoGenerateREADME.yaml | 10 ++++------ .gitea/workflows/AutoRelease.yaml | 2 +- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.gitea/workflows/AutoGenerateREADME.yaml b/.gitea/workflows/AutoGenerateREADME.yaml index 33ecf61..5fbe648 100644 --- a/.gitea/workflows/AutoGenerateREADME.yaml +++ b/.gitea/workflows/AutoGenerateREADME.yaml @@ -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 }} diff --git a/.gitea/workflows/AutoRelease.yaml b/.gitea/workflows/AutoRelease.yaml index bf02263..490afe7 100644 --- a/.gitea/workflows/AutoRelease.yaml +++ b/.gitea/workflows/AutoRelease.yaml @@ -19,7 +19,7 @@ jobs: with: fetch-depth: 0 # 启用子模块支持 - submodules: true + submodules: false - name: 设置环境变量 env: