更新 .gitea/workflows/demo.yaml
自动流水线示例 / build (push) Failing after 48s Details
自动流水线示例 / deploy (push) Has been skipped Details
自动流水线示例 / 检查 (push) Has been skipped Details
自动流水线示例 / 制品上传 (ubuntu-latest, a) (push) Has been skipped Details
自动流水线示例 / 制品上传 (ubuntu-latest, b) (push) Has been skipped Details
自动流水线示例 / 制品上传 (ubuntu-latest, c) (push) Has been skipped Details
自动流水线示例 / upload (ubuntu-latest) (push) Has been skipped Details
自动流水线示例 / download (push) Has been skipped Details

触发tag
This commit is contained in:
xiehaijun 2025-07-28 13:58:53 +00:00
parent c65233e116
commit ca2085f118
1 changed files with 2 additions and 2 deletions

View File

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