Skip to content

Commit d06d010

Browse files
committed
actions: run build on push with path filter
1 parent e67f08f commit d06d010

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/cmake.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,13 @@ name: CMake
22

33
on:
44
push:
5-
branches: [ main ]
6-
pull_request:
7-
branches: [ main ]
5+
paths:
6+
- '**.h'
7+
- '**.cpp'
8+
- '**.c'
9+
- '**.cmake'
10+
- '**/CMakeLists.txt'
11+
- '.github/workflows/**'
812

913
env:
1014
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)

0 commit comments

Comments
 (0)