From: Daniel Bevenius Date: Tue, 16 Jun 2026 12:33:42 +0000 (+0200) Subject: ci : only trigger release jobs for tags (#3883) X-Git-Tag: upstream/1.9.2~196 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=3805e602d3a3f80ca13211cb96900eae5aad4d1d;p=pkg%2Fggml%2Fsources%2Fwhisper.cpp 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 --- diff --git a/.github/workflows/build-gcc.yml b/.github/workflows/build-gcc.yml index 3d8b5137..53c1b2d7 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 11d47546..ef2c3083 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,8 +13,6 @@ on: type: string push: - branches: - - master tags: - 'v*'