yaml 格式错啦!

This commit is contained in:
shenjack 2022-12-30 11:00:19 +08:00
parent 0be270ab5a
commit 4c84f09be4

View File

@ -33,9 +33,9 @@ jobs:
id: get_short_sha
shell: pwsh
run: |
# short_sha=$(echo ${GITHUB_SHA} | cut -c1-7)
# echo "short_sha=$short_sha" >> $GITHUB_OUTPUT
# echo $GITHUB_OUTPUT
# 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 = $short_sha.substring(1,7)
Write-Output $short_sha