]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commitdiff
ci : add missing env.branch_name to build.yml (#2896)
authorDaniel Bevenius <redacted>
Tue, 18 Mar 2025 12:38:21 +0000 (13:38 +0100)
committerGitHub <redacted>
Tue, 18 Mar 2025 12:38:21 +0000 (13:38 +0100)
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.

.github/workflows/build.yml

index 7652df1b59f54c21a639bd4f74de2b4ba4e36c14..79ccd66f01f50efe223a5d9f5cd268ca00b76a08 100644 (file)
@@ -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"