Skip to content

Commit d82457d

Browse files
committed
release.yaml: Use powershell instead for windows-latest builds
1 parent 9c75a92 commit d82457d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ jobs:
9696
shell: bash
9797
run: |
9898
if [[ "${{ matrix.os }}" == "windows-latest" ]]; then
99-
certutil -hashfile "${{ env.ASSET }}" SHA256 | findstr /v "hash" | findstr /v "CertUtil" > "${{ env.ASSET }}.sha256"
99+
powershell -Command "(Get-FileHash -Algorithm SHA256 '${{ env.ASSET }}').Hash.ToLower()" > "${{ env.ASSET }}.sha256"
100100
else
101101
shasum -a 256 "${{ env.ASSET }}" | awk '{print $1}' > "${{ env.ASSET }}.sha256"
102102
fi

0 commit comments

Comments
 (0)