ruaaaaa: try bash on windows
This commit is contained in:
parent
b2df4a52a4
commit
b90858c429
11
.github/workflows/nuitka.yml
vendored
11
.github/workflows/nuitka.yml
vendored
@ -31,11 +31,14 @@ jobs:
|
|||||||
# 获取短 sha
|
# 获取短 sha
|
||||||
- name: Get short commit sha
|
- name: Get short commit sha
|
||||||
id: get_short_sha
|
id: get_short_sha
|
||||||
shell: pwsh
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
$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=$short_sha" | $GITHUB_OUTPUT
|
# Write-Output $short_sha
|
||||||
|
# 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
|
||||||
|
Loading…
Reference in New Issue
Block a user