This commit is contained in:
shenjack 2022-12-30 11:04:09 +08:00
parent de39338895
commit f3c3971596

View File

@ -36,7 +36,7 @@ jobs:
# short_sha=$(echo ${GITHUB_SHA} | cut -c1-7)
# echo "short_sha=$short_sha" >> $GITHUB_OUTPUT
# echo $GITHUB_OUTPUT
$short_sha = Write-Output $`{GITHUB_SHA`}
$short_sha = Write-Output ${GITHUB_SHA}
$short_sha = $short_sha.substring(1,7)
Write-Output $short_sha
Write-Output "short_sha=$short_sha" >> $env:GITHUB_ENV