Skip to content

Commit

Permalink
ci: update workflow with versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
WolverMinion committed Jan 18, 2023
1 parent 9cf90e9 commit a577a46
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ci-go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ jobs:
- name: "get branch name"
id: extract_branch_name
shell: bash
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF##*/})"
run: |
branch_name=$(git rev-parse --abbrev-ref HEAD)
echo "::set-output name=branch::$(echo ${branch_name})"
- name: "setup node"
uses: actions/setup-node@v3
with:
Expand Down

0 comments on commit a577a46

Please sign in to comment.