Skip to content

Commit 757ea6f

Browse files
committed
Relax publish workflow dependencies
1 parent 7f480ca commit 757ea6f

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/nuget-publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ jobs:
8282

8383
publish:
8484
name: 调用发布阶段
85-
needs: [prepare, pack, build-demos]
85+
needs: [prepare, pack]
8686
uses: ./.github/workflows/publish-release.yml
8787
with:
8888
release_tag: ${{ needs.prepare.outputs.release_tag }}
@@ -91,6 +91,7 @@ jobs:
9191
permissions:
9292
contents: write
9393
packages: write
94+
9495
if: |
9596
startsWith(github.ref, 'refs/tags/') ||
9697
(

.github/workflows/publish-release.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ name:
22

33
'on':
44
workflow_call:
5-
# inputs: 接收发布标签与发布目标开关,执行 Release / NuGet / GitHub Packages 发布。
65
inputs:
76
release_tag:
87
description: "发布标签:通常为 v9.5.0.5 形式"
@@ -16,7 +15,6 @@ name:
1615
description: "是否发布到 GitHub Packages"
1716
required: true
1817
type: boolean
19-
# outputs: 当前工作流只执行发布动作,不向调用方返回结构化 outputs。
2018

2119
jobs:
2220
publish:

0 commit comments

Comments
 (0)