mirror of
https://github.com/davisking/dlib.git
synced 2024-11-01 10:14:53 +08:00
Only trigger CI when relevant files are changed (#2836)
This commit is contained in:
parent
a50bd167c4
commit
7b6021eee7
16
.github/workflows/build_cpp.yml
vendored
16
.github/workflows/build_cpp.yml
vendored
@ -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:
|
||||
|
18
.github/workflows/build_python.yml
vendored
18
.github/workflows/build_python.yml
vendored
@ -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
Block a user