fix: powershell

This commit is contained in:
shenjack 2022-12-29 14:23:46 +08:00
parent 6ab04e58e4
commit 4e0d544ab2

View File

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