From f2585c955e807e9efade50b9458c4b1ffa5c2f74 Mon Sep 17 00:00:00 2001 From: xiehaijun Date: Sun, 27 Jul 2025 17:26:24 +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 发布生产 --- .gitea/workflows/demo.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/demo.yaml b/.gitea/workflows/demo.yaml index ed095fb..f64731f 100644 --- a/.gitea/workflows/demo.yaml +++ b/.gitea/workflows/demo.yaml @@ -283,7 +283,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: 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