]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commitdiff
ci : remove intermediate build on push to master (#2986)
authorDaniel Bevenius <redacted>
Wed, 2 Apr 2025 06:29:28 +0000 (08:29 +0200)
committerGitHub <redacted>
Wed, 2 Apr 2025 06:29:28 +0000 (08:29 +0200)
This commit removes the builds that happen on each push to master.

Refs: https://github.com/ggerganov/whisper.cpp/discussions/2983#discussioncomment-12691424

.github/workflows/build.yml

index 1d30660bf9705167b06af8fb639290784f734963..790a5d200c05cf23d5ab84fe84308309ac5419f2 100644 (file)
@@ -1057,9 +1057,7 @@ jobs:
           ./build/bin/quantize models/ggml-tiny.en.bin models/ggml-tiny.en-q4_0.bin q4_0
 
   release:
-    if: ${{ (github.event_name == 'push' && github.ref == 'refs/heads/master') ||
-            github.event.inputs.create_release == 'true' ||
-            github.event.inputs.pre_release_tag != '' }}
+    if: ${{ github.event.inputs.create_release == 'true' || github.event.inputs.pre_release_tag != '' }}
 
     runs-on: ubuntu-latest