Fix build check trigger path of c and cpp.

pull/951/head
krahets 1 year ago
parent 49745cf2d2
commit e4aa76ed3e

@ -6,10 +6,10 @@ name: C
on:
push:
branches: ["main"]
paths: ["codes/c/**/*.{c,h}"]
paths: ["codes/c/**/*.c", "codes/c/**/*.h"]
pull_request:
branches: ["main"]
paths: ["codes/c/**/*.{c,h}"]
paths: ["codes/c/**/*.c", "codes/c/**/*.h"]
workflow_dispatch:
jobs:

@ -6,10 +6,10 @@ name: C++
on:
push:
branches: ["main"]
paths: ["codes/cpp/**/*.{cpp,hpp}"]
paths: ["codes/cpp/**/*.cpp", "codes/cpp/**/*.hpp"]
pull_request:
branches: ["main"]
paths: ["codes/cpp/**/*.{cpp,hpp}"]
paths: ["codes/cpp/**/*.cpp", "codes/cpp/**/*.hpp"]
workflow_dispatch:
jobs:

Loading…
Cancel
Save