Skip to content

Commit

Permalink
Merge pull request #586 from wawuwo/more-sophisticated-workflow-trigger
Browse files Browse the repository at this point in the history
Make building workflow trigger fire only when the code is changed
  • Loading branch information
zergud authored Feb 18, 2024
2 parents 77eaeba + 2453d6a commit d31bb3a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@ name: CMake
on:
push:
branches: [ "master","current" ]
paths: [ "**.cpp", "**.h", "**/CMakeLists.txt" ]
pull_request:
branches: [ "master","current" ]
paths: [ "**.cpp", "**.h", "**/CMakeLists.txt" ]

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

0 comments on commit d31bb3a

Please sign in to comment.