Skip to content

Commit

Permalink
Fix build check trigger path of c and cpp.
Browse files Browse the repository at this point in the history
  • Loading branch information
krahets committed Nov 16, 2023
1 parent 49745cf commit e4aa76e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/c.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit e4aa76e

Please sign in to comment.