fix: did it?

This commit is contained in:
shenjack 2022-12-29 14:26:31 +08:00
parent 4e0d544ab2
commit 57bc1090cc

View File

@ -38,7 +38,8 @@ jobs:
if: runner.os == 'Windows' if: runner.os == 'Windows'
id: get_short_sha_powershell id: get_short_sha_powershell
run: | run: |
$short_sha = (echo ${GITHUB_SHA}).substring(1,7) $short_sha = echo ${GITHUB_SHA
$short_sha = $short_sha.substring(1,7)
Write-Output "short_sha=$short_sha" >> $GITHUB_OUTPUT Write-Output "short_sha=$short_sha" >> $GITHUB_OUTPUT