Skip to content

Commit

Permalink
Update build-and-release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
pdone authored Jun 18, 2024
1 parent 13b0375 commit 1eb47cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ jobs:
run: |
msbuild FreeControl.sln /p:Configuration=Release /p:Platform="Any CPU" /p:OutputPath="../output"
$filePath = "output/Freecontrol.exe"
$sha256Hash = (Get-FileHash -Algorithm SHA256 -Path $filePath).Hash
$sha256Hash > "output/SHA256"
$sha256Hash = (Get-FileHash -Algorithm SHA256 -Path $filePath).Hash.ToLower()
"``sha256: $sha256Hash``" > "output/SHA256"
- name: Release
uses: softprops/action-gh-release@v2
Expand Down

0 comments on commit 1eb47cb

Please sign in to comment.