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:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
|
paths:
|
||||||
|
- ".github/workflows/build_cpp.yml"
|
||||||
|
- "**.cpp"
|
||||||
|
- "**.h"
|
||||||
|
- "**.c"
|
||||||
|
- "**.cu"
|
||||||
|
- "**.cmake"
|
||||||
|
- "**CMakeLists.txt"
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
|
paths:
|
||||||
|
- ".github/workflows/build_cpp.yml"
|
||||||
|
- "**.cpp"
|
||||||
|
- "**.h"
|
||||||
|
- "**.c"
|
||||||
|
- "**.cu"
|
||||||
|
- "**.cmake"
|
||||||
|
- "**CMakeLists.txt"
|
||||||
|
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
|
|
|
@ -4,9 +4,27 @@ on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
|
paths:
|
||||||
|
- ".github/workflows/build_python.yml"
|
||||||
|
- "**.cpp"
|
||||||
|
- "**.h"
|
||||||
|
- "**.c"
|
||||||
|
- "**.cu"
|
||||||
|
- "**.cmake"
|
||||||
|
- "**CMakeLists.txt"
|
||||||
|
- "**py"
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
|
paths:
|
||||||
|
- ".github/workflows/build_python.yml"
|
||||||
|
- "**.cpp"
|
||||||
|
- "**.h"
|
||||||
|
- "**.c"
|
||||||
|
- "**.cu"
|
||||||
|
- "**.cmake"
|
||||||
|
- "**CMakeLists.txt"
|
||||||
|
- "**py"
|
||||||
|
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
|
|
Loading…
Reference in New Issue