]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
ci : publish new docker images only when the files change (#8142)
authorslaren <redacted>
Wed, 26 Jun 2024 19:59:28 +0000 (21:59 +0200)
committerGitHub <redacted>
Wed, 26 Jun 2024 19:59:28 +0000 (21:59 +0200)
.github/workflows/build.yml
.github/workflows/docker.yml

index 0d91fc4e4e965906c9462c66cf1e9013c1d479e3..20851528726aa5bc4a6faecadfdbb87119e27cf6 100644 (file)
@@ -10,10 +10,10 @@ on:
   push:
     branches:
       - master
-    paths: ['.github/workflows/**', '**/CMakeLists.txt', '**/Makefile', '**/*.h', '**/*.hpp', '**/*.c', '**/*.cpp', '**/*.cu', '**/*.swift', '**/*.m']
+    paths: ['.github/workflows/build.yml', '**/CMakeLists.txt', '**/Makefile', '**/*.h', '**/*.hpp', '**/*.c', '**/*.cpp', '**/*.cu', '**/*.cuh', '**/*.swift', '**/*.m', '**/*.metal']
   pull_request:
     types: [opened, synchronize, reopened]
-    paths: ['.github/workflows/build.yml', '**/CMakeLists.txt', '**/Makefile', '**/*.h', '**/*.hpp', '**/*.c', '**/*.cpp', '**/*.cu', '**/*.cuh', '**/*.swift', '**/*.m']
+    paths: ['.github/workflows/build.yml', '**/CMakeLists.txt', '**/Makefile', '**/*.h', '**/*.hpp', '**/*.c', '**/*.cpp', '**/*.cu', '**/*.cuh', '**/*.swift', '**/*.m', '**/*.metal']
 
 concurrency:
   group: ${{ github.workflow }}-${{ github.head_ref && github.ref || github.run_id }}
index 01f1a452275279b17ea37ea7f27d45227b47c24a..bf94b2024e814694754b616ff3f8d6f178de7ee5 100644 (file)
@@ -14,6 +14,7 @@ on:
   push:
     branches:
       - master
+    paths: ['.github/workflows/docker.yml', '.devops/*.Dockerfile', '**/CMakeLists.txt', '**/Makefile', '**/*.h', '**/*.hpp', '**/*.c', '**/*.cpp', '**/*.cu', '**/*.cuh', '**/*.swift', '**/*.m', '**/*.metal']
 
 concurrency:
   group: ${{ github.workflow }}-${{ github.head_ref && github.ref || github.run_id }}