CI: Use 7-symbol short hashes for consistency (#665)
This commit is contained in:
parent
e6d5f4038b
commit
6966ca8f8f
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -59,7 +59,7 @@ jobs:
|
||||
if [[ "${{ github.ref }}" == "refs/tags/"* ]]; then
|
||||
SUFFIX=${REF}
|
||||
else
|
||||
SUFFIX=${REF}-$(date +'%d%m%Y')-$(echo ${GITHUB_SHA} | cut -c1-8)
|
||||
SUFFIX=${REF}-$(date +'%d%m%Y')-$(echo ${GITHUB_SHA} | cut -c1-7)
|
||||
fi
|
||||
|
||||
echo "SUFFIX=${SUFFIX}" >> $GITHUB_ENV
|
||||
|
Loading…
Reference in New Issue
Block a user