ci : add paths to build.yml (#3333)

This commit adds specific paths to the GitHub Actions workflow file
`.github/workflows/build.yml`.

The motivation for this to avoid unnecessary builds when unrelated files
are changed, which can save resources and time during the CI process.

Refs: https://github.com/ggml-org/whisper.cpp/issues/3285
This commit is contained in:
Daniel Bevenius
2025-07-24 16:04:21 +02:00
committed by GitHub
parent 210bbbe4d5
commit 85e474fd55

View File

@ -6,6 +6,25 @@ on:
- master
tags:
- 'v*'
paths: ['.github/workflows/build.yml',
'**/CMakeLists.txt',
'**/Makefile',
'**/*.mk',
'**/*.cmake',
'**/*.in',
'**/*.h',
'**/*.hpp',
'**/*.c',
'**/*.cpp',
'**/*.cu',
'**/*.cuh',
'**/*.cl',
'**/*.swift',
'**/*.m',
'**/*.mm',
'**/*.metal',
'**/*.comp',
'**/*.java']
pull_request:
types: [opened, synchronize, reopened]
workflow_dispatch: