Skip to content

Commit 1eb47cb

Browse files
authored
Update build-and-release.yml
1 parent 13b0375 commit 1eb47cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build-and-release.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ jobs:
2222
run: |
2323
msbuild FreeControl.sln /p:Configuration=Release /p:Platform="Any CPU" /p:OutputPath="../output"
2424
$filePath = "output/Freecontrol.exe"
25-
$sha256Hash = (Get-FileHash -Algorithm SHA256 -Path $filePath).Hash
26-
$sha256Hash > "output/SHA256"
25+
$sha256Hash = (Get-FileHash -Algorithm SHA256 -Path $filePath).Hash.ToLower()
26+
"``sha256: $sha256Hash``" > "output/SHA256"
2727
2828
- name: Release
2929
uses: softprops/action-gh-release@v2

0 commit comments

Comments
 (0)