This commit is contained in:
shenjack 2022-12-29 15:43:01 +08:00
parent 1c6b4efa7a
commit 5c35698c98

View File

@ -33,12 +33,12 @@ jobs:
id: get_short_sha id: get_short_sha
shell: bash shell: bash
run: | run: |
short_sha=$(echo ${GITHUB_SHA} | cut -c1-7)
echo "short_sha=$short_sha" >> $GITHUB_OUTPUT
# $short_sha = Write-Output $`{GITHUB_SHA`} # $short_sha = Write-Output $`{GITHUB_SHA`}
# $short_sha = $short_sha.substring(1,7) # $short_sha = $short_sha.substring(1,7)
# Write-Output $short_sha # Write-Output $short_sha
# Write-Output "short_sha=$short_sha" >> $GITHUB_OUTPUT # Write-Output "short_sha=$short_sha" >> $GITHUB_OUTPUT
short_sha=$(echo ${GITHUB_SHA} | cut -c1-7)
echo "short_sha=$short_sha" >> $GITHUB_OUTPUT
# 安装 Python # 安装 Python