ci: glob directory matches
This makes sure *all* changes to directories trigger the given workflows Signed-off-by: Seth Flynn <getchoo@tuta.io>
This commit is contained in:
34
.github/workflows/build.yml
vendored
34
.github/workflows/build.yml
vendored
@@ -13,12 +13,12 @@ on:
|
||||
- "**.ui"
|
||||
|
||||
# Directories
|
||||
- "buildconfig/"
|
||||
- "cmake/"
|
||||
- "launcher/"
|
||||
- "libraries/"
|
||||
- "program_info/"
|
||||
- "tests/"
|
||||
- "buildconfig/**"
|
||||
- "cmake/**"
|
||||
- "launcher/**"
|
||||
- "libraries/**"
|
||||
- "program_info/**"
|
||||
- "tests/**"
|
||||
|
||||
# Files
|
||||
- "CMakeLists.txt"
|
||||
@@ -26,21 +26,23 @@ on:
|
||||
|
||||
# Workflows
|
||||
- ".github/workflows/build.yml"
|
||||
- ".github/actions/package/"
|
||||
- ".github/actions/setup-dependencies/"
|
||||
- ".github/actions/package/**"
|
||||
- ".github/actions/setup-dependencies/**"
|
||||
pull_request:
|
||||
paths:
|
||||
# File types
|
||||
- "**.cpp"
|
||||
- "**.h"
|
||||
- "**.java"
|
||||
- "**.ui"
|
||||
|
||||
# Directories
|
||||
- "buildconfig/"
|
||||
- "cmake/"
|
||||
- "launcher/"
|
||||
- "libraries/"
|
||||
- "program_info/"
|
||||
- "tests/"
|
||||
- "buildconfig/**"
|
||||
- "cmake/**"
|
||||
- "launcher/**"
|
||||
- "libraries/**"
|
||||
- "program_info/**"
|
||||
- "tests/**"
|
||||
|
||||
# Files
|
||||
- "CMakeLists.txt"
|
||||
@@ -48,8 +50,8 @@ on:
|
||||
|
||||
# Workflows
|
||||
- ".github/workflows/build.yml"
|
||||
- ".github/actions/package/"
|
||||
- ".github/actions/setup-dependencies/"
|
||||
- ".github/actions/package/**"
|
||||
- ".github/actions/setup-dependencies/**"
|
||||
workflow_call:
|
||||
inputs:
|
||||
build-type:
|
||||
|
||||
Reference in New Issue
Block a user