Skip to content

Commit 2ce685a

Browse files
committed
Add sha256 artifacts of portable and installer
1 parent 3554574 commit 2ce685a

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/build-release.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,22 +35,28 @@ jobs:
3535
- name: Build
3636
run: .\vstudio-build.bat Release
3737

38+
- name: Create portable artifact digest
39+
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 }
40+
3841
- name: Create portable artifact
3942
uses: actions/upload-artifact@v4
4043
with:
4144
name: portable
42-
path: build/vstudio/Release/Finestray.exe
45+
path: build/vstudio/Release/Finestray.exe*
46+
47+
- name: Create installer artifact digest
48+
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 }
4349

4450
- name: Create installer artifact
4551
uses: actions/upload-artifact@v4
4652
with:
4753
name: installer
48-
path: build/vstudio/Finestray-*-win64.exe
54+
path: build/vstudio/Finestray-*-win64.exe*
4955

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)