From ca2085f11873a9aeaf41188045752c2a2d13cbca Mon Sep 17 00:00:00 2001 From: xiehaijun Date: Mon, 28 Jul 2025 13:58:53 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20.gitea/workflows/demo.yaml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 触发tag --- .gitea/workflows/demo.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/demo.yaml b/.gitea/workflows/demo.yaml index ecee197..43e6477 100644 --- a/.gitea/workflows/demo.yaml +++ b/.gitea/workflows/demo.yaml @@ -285,8 +285,8 @@ jobs: #GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # github版本专用 NODE_OPTIONS: '--experimental-fetch' # if nodejs < 18[gitea版本] NODE_TLS_REJECT_UNAUTHORIZED: false # 忽略 ssl 验证错误[gitea版本] - # if: github.ref_type == 'tag' - if: startsWith(github.ref, 'refs/tags/') # 仅在tag时上传 + if: github.ref_type == 'tag' + #if: startsWith(github.ref, 'refs/tags/') # 仅在tag时上传 with: # body_path: ${{ github.workspace }}-CHANGELOG.txt #加载文本的路径,用于传达此版本中的显著变化 # repository: my_gh_org/my_gh_repo