This action outputs the current branch name and corresponding tag.
The current branch name.
The corresponding tag name. If master
-> latest
, branch-name
for the others.
uses: ypicard/get-branch-name-github-action@v1
Github Action to get current branch name and associated tag.
Shell