fix CI build
This commit is contained in:
parent
f0cacc1650
commit
5f1493edff
1 changed files with 1 additions and 1 deletions
2
.github/workflows/build_check.yml
vendored
2
.github/workflows/build_check.yml
vendored
|
|
@ -84,7 +84,7 @@ jobs:
|
||||||
id: current_commit
|
id: current_commit
|
||||||
run: |
|
run: |
|
||||||
set -x
|
set -x
|
||||||
version_tag=${GITHUB_REF/refs\/heads\//}
|
version_tag=$(echo ${GITHUB_REF/refs\/heads\//} | sed -r 's/[\/]+/_/g')
|
||||||
commit_count=$(git rev-list --count HEAD)
|
commit_count=$(git rev-list --count HEAD)
|
||||||
echo "VERSION_TAG=$version_tag"
|
echo "VERSION_TAG=$version_tag"
|
||||||
echo "VERSION_TAG=$version_tag" >> $GITHUB_OUTPUT
|
echo "VERSION_TAG=$version_tag" >> $GITHUB_OUTPUT
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue