Skip to content

Commit 49b464f

Browse files
committed
Fix var name
1 parent a6929b7 commit 49b464f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmake/ClioVersion.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ else ()
2424
OUTPUT_STRIP_TRAILING_WHITESPACE COMMAND_ERROR_IS_FATAL ANY
2525
)
2626

27-
if (DEFINED ENV{GITHUB_REF_NAME})
27+
if (DEFINED ENV{GITHUB_BRANCH_NAME})
2828
# Please, see cmake action in .github/actions/ for details
29-
set(BRANCH $ENV{GITHUB_REF_NAME})
29+
set(BRANCH $ENV{GITHUB_BRANCH_NAME})
3030
set(GITHUB_HEAD_SHA $ENV{GITHUB_HEAD_SHA})
3131
string(SUBSTRING ${GITHUB_HEAD_SHA} 0 7 REV)
3232
else ()

0 commit comments

Comments
 (0)