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: on:
push: push:
branches: ["main"] branches: ["main"]
paths: ["codes/c/**/*.{c,h}"] paths: ["codes/c/**/*.c", "codes/c/**/*.h"]
pull_request: pull_request:
branches: ["main"] branches: ["main"]
paths: ["codes/c/**/*.{c,h}"] paths: ["codes/c/**/*.c", "codes/c/**/*.h"]
workflow_dispatch: workflow_dispatch:
jobs: jobs:

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

Loading…
Cancel
Save