Skip to content

Commit

Permalink
Update EnlistmentHelperFunctions.psm1
Browse files Browse the repository at this point in the history
  • Loading branch information
aholstrup1 authored Jan 9, 2025
1 parent d3e59ef commit 9087802
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build/scripts/EnlistmentHelperFunctions.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ function Get-BuildMode() {
}

function Get-CurrentBranch() {
if ($ENV:GITHUB_HEAD_REF) {
return $ENV:GITHUB_HEAD_REF
}

if ($ENV:GITHUB_REF_NAME) {
return $ENV:GITHUB_REF_NAME
}
Expand Down

0 comments on commit 9087802

Please sign in to comment.