Skip to content

Commit b9376a8

Browse files
authored
Fix missing branch name in CI
* Update workflow.yml
1 parent 34b72d5 commit b9376a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/workflow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,5 @@ jobs:
2424
VRT_PROJECT: "VRT"
2525
VRT_ENABLESOFTASSERT: false
2626
VRT_APIKEY: ${{ secrets.VRT_API_KEY }}
27-
VRT_BRANCHNAME: ${{ steps.get-branch-name.outputs.branch_name }}
27+
VRT_BRANCHNAME: ${{ github.head_ref || steps.get-branch-name.outputs.branch_name }}
2828
VRT_CIBUILDID: "Github run_id: ${{ github.run_id }}"

0 commit comments

Comments
 (0)