mirror of
https://github.com/krahets/hello-algo.git
synced 2024-12-24 11:16:27 +08:00
Fix build check trigger path of c and cpp.
This commit is contained in:
parent
49745cf2d2
commit
e4aa76ed3e
2 changed files with 4 additions and 4 deletions
4
.github/workflows/c.yml
vendored
4
.github/workflows/c.yml
vendored
|
@ -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:
|
||||
|
|
4
.github/workflows/cpp.yml
vendored
4
.github/workflows/cpp.yml
vendored
|
@ -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…
Reference in a new issue