From 6e40772b1d5415c02b33575f05cbd34eb17fc3b9 Mon Sep 17 00:00:00 2001 From: shenjack <3695888@qq.com> Date: Fri, 30 Dec 2022 11:06:12 +0800 Subject: [PATCH] may work? --- .github/workflows/nuitka.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/nuitka.yml b/.github/workflows/nuitka.yml index db98ef0..57a1576 100644 --- a/.github/workflows/nuitka.yml +++ b/.github/workflows/nuitka.yml @@ -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 $env:GITHUB_SHA $short_sha = $short_sha.substring(1,7) Write-Output $short_sha Write-Output "short_sha=$short_sha" >> $env:GITHUB_ENV