Skip to content

Commit

Permalink
Remove slash from branch name
Browse files Browse the repository at this point in the history
  • Loading branch information
krsoninikhil committed Jul 24, 2024
1 parent 01ab5ca commit 7e5c719
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
restore-keys: ${{ runner.os }}-m2

- name: Get branch name
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/} | awk '{print tolower($0)}')"
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/} | awk '{gsub("/", "-"); print tolower($0)}')"
id: get_branch

- name: Create Maven Settings
Expand Down

0 comments on commit 7e5c719

Please sign in to comment.