Skip to content

Commit 5da0191

Browse files
author
NEVSTOP
committed
ci(workflows): 忽略SDK目录下的文件变更
修改GitHub工作流文件,在触发条件中排除SDK目录下的文件变更,避免不必要的构建和检查
1 parent e169aa7 commit 5da0191

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/Build_VIPM_Library.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ on:
1717
- '**.svg'
1818
- '**.json'
1919
- '**.yml'
20+
- 'SDK/**/*'
2021

2122
push:
2223
paths-ignore:
@@ -27,6 +28,7 @@ on:
2728
- '**.svg'
2829
- '**.json'
2930
- '**.yml'
31+
- 'SDK/**/*'
3032

3133
# Allows you to run this workflow manually from the Actions tab
3234
workflow_dispatch:

.github/workflows/Check_Broken_VIs.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ on:
1515
- '**.svg'
1616
- '**.json'
1717
- '**.yml'
18-
18+
- 'SDK/**/*'
19+
1920
pull_request:
2021
branches:
2122
- main
@@ -29,6 +30,7 @@ on:
2930
- '**.svg'
3031
- '**.json'
3132
- '**.yml'
33+
- 'SDK/**/*'
3234

3335
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
3436
jobs:

0 commit comments

Comments
 (0)