CI: More precise trigger paths for github actions (#2157)

Only trigger the necessary github actions when a CI file is changed.
This commit is contained in:
TianlongLiang 2023-04-27 18:31:39 +08:00 committed by GitHub
parent ed6b8efade
commit 247a49c4fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 16 additions and 10 deletions

View File

@ -10,7 +10,8 @@ on:
- opened
- synchronize
paths:
- ".github/**"
- ".github/workflows/build_llvm_libraries.yml"
- ".github/workflows/compilation_on_android_ubuntu.yml"
- "build-scripts/**"
- "core/**"
- "!core/deps/**"
@ -26,7 +27,8 @@ on:
- main
- "dev/**"
paths:
- ".github/**"
- ".github/workflows/build_llvm_libraries.yml"
- ".github/workflows/compilation_on_android_ubuntu.yml"
- "build-scripts/**"
- "core/**"
- "!core/deps/**"

View File

@ -10,7 +10,8 @@ on:
- opened
- synchronize
paths:
- ".github/**"
- ".github/workflows/build_llvm_libraries.yml"
- ".github/workflows/compilation_on_macos.yml"
- "build-scripts/**"
- "core/**"
- "!core/deps/**"
@ -26,7 +27,8 @@ on:
- main
- "dev/**"
paths:
- ".github/**"
- ".github/workflows/build_llvm_libraries.yml"
- ".github/workflows/compilation_on_macos.yml"
- "build-scripts/**"
- "core/**"
- "!core/deps/**"

View File

@ -10,7 +10,7 @@ on:
- opened
- synchronize
paths:
- ".github/**"
- ".github/workflows/compilation_on_nuttx.yml"
- "build-scripts/**"
- "core/**"
- "!core/deps/**"
@ -26,7 +26,7 @@ on:
- main
- "dev/**"
paths:
- ".github/**"
- ".github/workflows/compilation_on_nuttx.yml"
- "build-scripts/**"
- "core/**"
- "!core/deps/**"

View File

@ -10,7 +10,8 @@ on:
- opened
- synchronize
paths:
- ".github/**"
- ".github/workflows/build_llvm_libraries.yml"
- ".github/workflows/compilation_on_sgx.yml"
- "build-scripts/**"
- "core/**"
- "!core/deps/**"
@ -26,7 +27,8 @@ on:
- main
- "dev/**"
paths:
- ".github/**"
- ".github/workflows/build_llvm_libraries.yml"
- ".github/workflows/compilation_on_sgx.yml"
- "build-scripts/**"
- "core/**"
- "!core/deps/**"

View File

@ -10,7 +10,7 @@ on:
- opened
- synchronize
paths:
- ".github/**"
- ".github/workflows/compilation_on_windows.yml"
- "build-scripts/**"
- "core/**"
- "!core/deps/**"
@ -26,7 +26,7 @@ on:
- main
- "dev/**"
paths:
- ".github/**"
- ".github/workflows/compilation_on_windows.yml"
- "build-scripts/**"
- "core/**"
- "!core/deps/**"