From 3805e602d3a3f80ca13211cb96900eae5aad4d1d Mon Sep 17 00:00:00 2001 From: Daniel Bevenius Date: Tue, 16 Jun 2026 14:33:42 +0200 Subject: [PATCH] ci : only trigger release jobs for tags (#3883) * ci : only trigger release jobs for tags This commit removes the building of the release jobs on pushed to master. The motivation for this is that it can be confusing at the momement when releasing that the push to master also triggers the release jobs but the actual release will be skipped. With this change the release job is only run when a tag is pushed which should result in a single Release github actions job and make it easier to follow. * ci : add GGML_NATIVE=OFF for ubuntu-22-gcc --- .github/workflows/build-gcc.yml | 1 + .github/workflows/release.yml | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/build-gcc.yml b/.github/workflows/build-gcc.yml index 3d8b51373..53c1b2d78 100644 --- a/.github/workflows/build-gcc.yml +++ b/.github/workflows/build-gcc.yml @@ -75,6 +75,7 @@ jobs: apt update apt install -y build-essential cmake libsdl2-dev git ccache cmake . -DWHISPER_SDL2=ON -DCMAKE_BUILD_TYPE=${{ matrix.build }} \ + -DGGML_NATIVE=OFF \ -DCMAKE_C_COMPILER_LAUNCHER=ccache \ -DCMAKE_CXX_COMPILER_LAUNCHER=ccache make diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 11d47546c..ef2c3083c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,8 +13,6 @@ on: type: string push: - branches: - - master tags: - 'v*'