There was an error while loading. Please reload this page.
1 parent 371b524 commit 73e61bfCopy full SHA for 73e61bf
.github/workflows/mcad-CI.yml
@@ -19,9 +19,8 @@ jobs:
19
20
- name: Set latest tag and Branch name
21
run: |
22
- BRANCH= ${{ github.event.pull_request.head.ref }}
23
- GIT_BRANCH=$(echo "$BRANCH" | sed 's/[^A-Za-z0-9._-]/-/g')"
24
- echo "GIT_BRANCH=$GIT_BRANCH" >> $GITHUB_ENV
+ BRANCH=${{ github.event.pull_request.head.ref }}
+ echo "GIT_BRANCH=$(echo "$BRANCH" | sed 's/[^A-Za-z0-9._-]/-/g' )" >> $GITHUB_ENV
25
echo "TAG=$(git describe --abbrev=0 --tags)" >> $GITHUB_ENV
26
27
- name: Set up Go
0 commit comments