更新 .gitea/workflows/demo.yaml
自动流水线示例 / build (push) Successful in 2m12s Details
自动流水线示例 / upload (ubuntu-latest) (push) Successful in 23s Details
自动流水线示例 / deploy (push) Successful in 18s Details
自动流水线示例 / download (push) Successful in 43s Details
自动流水线示例 / 检查 (push) Successful in 11s 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

发布生产
This commit is contained in:
xiehaijun 2025-07-27 17:26:24 +00:00
parent 77a709e106
commit f2585c955e
1 changed files with 2 additions and 1 deletions

View File

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