ci: 移除 Release 工作流
删除了 .github/workflows/create-release.yml 文件,这意味着不再使用自动发布功能。这可能是为了简化 CI/CD 流程或改为使用其他发布方式。
This commit is contained in:
parent
787cf4b8ee
commit
29f0f18689
|
|
@ -1,19 +0,0 @@
|
|||
name: Release
|
||||
|
||||
on:
|
||||
workflow_dispatch: # 手动发布
|
||||
workflow_run: # 当 build 流程成功完成后自动触发
|
||||
workflows: ["Build Artifacts"]
|
||||
types: [completed]
|
||||
|
||||
jobs:
|
||||
release:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
# 仅在Build工作流成功时运行
|
||||
if: github.event.workflow_run.conclusion == 'success'
|
||||
|
||||
steps:
|
||||
- name: Release
|
||||
uses: softprops/action-gh-release@v2
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
Loading…
Reference in New Issue