mirror of https://github.com/davisking/dlib.git
Only trigger CI when relevant files are changed (#2836)
This commit is contained in:
parent
a50bd167c4
commit
7b6021eee7
|
@ -4,9 +4,25 @@ on:
|
|||
push:
|
||||
branches:
|
||||
- master
|
||||
paths:
|
||||
- ".github/workflows/build_cpp.yml"
|
||||
- "**.cpp"
|
||||
- "**.h"
|
||||
- "**.c"
|
||||
- "**.cu"
|
||||
- "**.cmake"
|
||||
- "**CMakeLists.txt"
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
paths:
|
||||
- ".github/workflows/build_cpp.yml"
|
||||
- "**.cpp"
|
||||
- "**.h"
|
||||
- "**.c"
|
||||
- "**.cu"
|
||||
- "**.cmake"
|
||||
- "**CMakeLists.txt"
|
||||
|
||||
defaults:
|
||||
run:
|
||||
|
|
|
@ -4,9 +4,27 @@ on:
|
|||
push:
|
||||
branches:
|
||||
- master
|
||||
paths:
|
||||
- ".github/workflows/build_python.yml"
|
||||
- "**.cpp"
|
||||
- "**.h"
|
||||
- "**.c"
|
||||
- "**.cu"
|
||||
- "**.cmake"
|
||||
- "**CMakeLists.txt"
|
||||
- "**py"
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
paths:
|
||||
- ".github/workflows/build_python.yml"
|
||||
- "**.cpp"
|
||||
- "**.h"
|
||||
- "**.c"
|
||||
- "**.cu"
|
||||
- "**.cmake"
|
||||
- "**CMakeLists.txt"
|
||||
- "**py"
|
||||
|
||||
defaults:
|
||||
run:
|
||||
|
|
Loading…
Reference in New Issue