diff --git a/.github/workflows/build_check.yml b/.github/workflows/build_check.yml index 35f93c3825..834e38dbf2 100644 --- a/.github/workflows/build_check.yml +++ b/.github/workflows/build_check.yml @@ -84,7 +84,7 @@ jobs: id: current_commit run: | 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) echo "VERSION_TAG=$version_tag" echo "VERSION_TAG=$version_tag" >> $GITHUB_OUTPUT