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