mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-10-03 19:45:41 +00:00
ci : reuse build tag name when used instead of safe one (#28911)
This commit is contained in:
parent
96ffdc41ce
commit
7cf1c54a96
1 changed files with 1 additions and 1 deletions
2
.github/actions/get-tag-name/action.yml
vendored
2
.github/actions/get-tag-name/action.yml
vendored
|
|
@ -14,7 +14,7 @@ runs:
|
|||
run: |
|
||||
BUILD_NUMBER="$(git rev-list --count HEAD)"
|
||||
SHORT_HASH="$(git rev-parse --short=7 HEAD)"
|
||||
if [[ "${{ env.BRANCH_NAME }}" == "master" ]]; then
|
||||
if [[ "${{ env.BRANCH_NAME }}" == "master" || "${{ env.BRANCH_NAME }}" == "b${BUILD_NUMBER}" ]]; then
|
||||
echo "name=b${BUILD_NUMBER}" >> $GITHUB_OUTPUT
|
||||
else
|
||||
SAFE_NAME=$(echo "${{ env.BRANCH_NAME }}" | tr '/' '-')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue