Skip to content

Commit 7e23d8c

Browse files
authored
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.
1 parent 740bf7f commit 7e23d8c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ permissions:
3232
contents: write # for creating release
3333

3434
env:
35+
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
3536
ubuntu_image: "ubuntu:22.04"
3637
VCPKG_BINARY_SOURCES: "clear;x-gha,readwrite"
3738

0 commit comments

Comments
 (0)