Skip to content

Commit f120813

Browse files
author
mmahipal
committed
changed Github actions to use branch name as tag
1 parent 327f8ec commit f120813

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/github-actions.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,14 @@ jobs:
3838
# extract branch name
3939
- name: Extract branch name
4040
if: github.event_name != 'pull_request'
41+
run: echo "BRANCH_NAME ${GITHUB_REF#refs/heads/}"
4142
env:
4243
BRANCH_NAME: ${GITHUB_REF#refs/heads/}
4344

4445
# extract branch name on pull request
4546
- name: Extract branch name
4647
if: github.event_name == 'pull_request'
48+
run: echo "BRANCH_NAME ${GITHUB_HEAD_REF}"
4749
env:
4850
BRANCH_NAME: ${GITHUB_HEAD_REF}
4951

0 commit comments

Comments
 (0)