GitHub Actions: Only run build when pushing or PR'ing to master branch

This commit is contained in:
David Hrdlička
2025-08-24 22:52:36 +02:00
parent ef1c71ba99
commit 673ea7efd9
3 changed files with 6 additions and 0 deletions

View File

@@ -3,6 +3,7 @@ name: CMake (Linux)
on:
push:
branches: [ "master" ]
paths:
- src/**
- cmake/**
@@ -14,6 +15,7 @@ on:
- "!**/Makefile*"
pull_request:
branches: [ "master" ]
paths:
- src/**
- cmake/**

View File

@@ -3,6 +3,7 @@ name: CMake (macos)
on:
push:
branches: [ "master" ]
paths:
- src/**
- cmake/**
@@ -14,6 +15,7 @@ on:
- "!**/Makefile*"
pull_request:
branches: [ "master" ]
paths:
- src/**
- cmake/**

View File

@@ -3,6 +3,7 @@ name: CMake (Windows, msys2)
on:
push:
branches: [ "master" ]
paths:
- src/**
- cmake/**
@@ -14,6 +15,7 @@ on:
- "!**/Makefile*"
pull_request:
branches: [ "master" ]
paths:
- src/**
- cmake/**