Skip to content

Commit def4a53

Browse files
committed
1
1 parent dbebeff commit def4a53

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/nuget-publish.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,15 +71,14 @@ jobs:
7171
# 3. 仅在 tag 或手动发布时生成 demo 资产
7272
build-demos:
7373
name: 调用 Demo 构建阶段
74+
if: startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch'
7475
needs: prepare
7576
uses: ./.github/workflows/build-demos.yml
7677
with:
7778
package_version: ${{ needs.prepare.outputs.package_version }}
7879
permissions:
7980
contents: read
8081

81-
if: startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch'
82-
8382
publish:
8483
name: 调用发布阶段
8584
needs: [prepare, pack]

0 commit comments

Comments
 (0)