Update action.yml

This commit is contained in:
MaximShein-ms
2025-05-20 22:55:33 +05:00
parent 8c5ad4aae9
commit c7c46f0d55

View File

@@ -9,9 +9,9 @@ outputs:
git_branch_name:
description: ""
value: ${{ steps.extract_git_info.outputs.GIT_BRANCH_NAME }}
git_branch_formatted:
description: "Normalized branch name (xx.xx.xx): true or false"
value: ${{ steps.extract_git_info.outputs.GIT_BRANCH_FORMATTED }}
# git_branch_formatted:
# description: "Normalized branch name (xx.xx.xx): true or false"
# value: ${{ steps.extract_git_info.outputs.GIT_BRANCH_FORMATTED }}
git_build_type:
description: ""
value: ${{ steps.extract_git_info.outputs.GIT_BUILD_TYPE }}
@@ -55,7 +55,7 @@ runs:
# extract branch name as is
GIT_BRANCH_NAME=$(git branch --show-current)
GIT_BRANCH_FORMATTED=$(echo $GIT_BRANCH_NAME | grep -E '^[0-9]{1}\.[0-9]{2}\.[0-9]{2}$' | wc -l || echo 0)
GIT_BRANCH_FORMATTED=$(echo $GIT_BRANCH_NAME | grep -E '^[0-9]{1}\.[0-9]{2}\.[0-9]{2}$' | wc -l)
fi
# get tag description