Skip to content

Commit 039533b

Browse files
committed
Add sha256 artifacts of portable and installer
1 parent 3554574 commit 039533b

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/build-release.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,16 +41,22 @@ jobs:
4141
name: portable
4242
path: build/vstudio/Release/Finestray.exe
4343

44+
- name: Create portable artifact digest
45+
run: $files = Get-ChildItem -Path .\build\vstudio\Release -Filter "*.exe"; foreach ($file in $files) { $hash = Get-FileHash $file.FullName; Out-File -FilePath "$($hash.Path).sha256" -InputObject $hash.Hash }
46+
4447
- name: Create installer artifact
4548
uses: actions/upload-artifact@v4
4649
with:
4750
name: installer
4851
path: build/vstudio/Finestray-*-win64.exe
4952

53+
- name: Create installer artifact digest
54+
run: $files = Get-ChildItem -Path .\build\vstudio -Filter "*.exe"; foreach ($file in $files) { $hash = Get-FileHash $file.FullName; Out-File -FilePath "$($hash.Path).sha256" -InputObject $hash.Hash }
55+
5056
- name: Create release
5157
if: startsWith(github.ref, 'refs/tags/')
5258
uses: ncipollo/[email protected]
5359
with:
5460
artifactErrorsFailBuild: true
55-
artifacts: "build/vstudio/Release/Finestray.exe, build/vstudio/Finestray-*-*.exe"
61+
artifacts: "build/vstudio/Release/Finestray.exe*, build/vstudio/Finestray-*-win64.exe*"
5662
generateReleaseNotes: true

0 commit comments

Comments
 (0)