From: Daniel Bevenius Date: Tue, 18 Mar 2025 12:38:21 +0000 (+0100) Subject: ci : add missing env.branch_name to build.yml (#2896) X-Git-Tag: upstream/1.7.5~135 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=7e23d8c64ae180deb5e9f8b80e259bccc2f99e7c;p=pkg%2Fggml%2Fsources%2Fwhisper.cpp ci : add missing env.branch_name to build.yml (#2896) This commit adds the missing env.branch_name to the build.yml file. The motivation for this is that the currently the build is failing during the release job because the branch_name is not set in the an invalid tag is being used. --- diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7652df1b..79ccd66f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -32,6 +32,7 @@ permissions: contents: write # for creating release env: + BRANCH_NAME: ${{ github.head_ref || github.ref_name }} ubuntu_image: "ubuntu:22.04" VCPKG_BINARY_SOURCES: "clear;x-gha,readwrite"