fix(ci): 保持 Release 为 Draft 状态,防止自动发布

This commit is contained in:
yhh
2025-12-16 13:16:33 +08:00
parent 48d3d14af2
commit a18eb5aa3c

View File

@@ -190,7 +190,8 @@ jobs:
with: with:
files: ./signed/* files: ./signed/*
tag_name: ${{ github.event_name == 'workflow_dispatch' && format('editor-v{0}', github.event.inputs.version) || github.ref_name }} tag_name: ${{ github.event_name == 'workflow_dispatch' && format('editor-v{0}', github.event.inputs.version) || github.ref_name }}
draft: false # 保持 Draft 状态,需要手动发布 | Keep as draft, require manual publish
draft: true
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}