From 7e23d8c64ae180deb5e9f8b80e259bccc2f99e7c Mon Sep 17 00:00:00 2001 From: Daniel Bevenius Date: Tue, 18 Mar 2025 13:38:21 +0100 Subject: [PATCH] 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. --- .github/workflows/build.yml | 1 + 1 file changed, 1 insertion(+) 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"