Skip to content

Commit f19be0c

Browse files
committed
Add sha256 artifacts of portable and installer
1 parent 8f10c5f commit f19be0c

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

.github/workflows/build-release.yml

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

38+
- name: Generate portable checksum
39+
uses: Solratic/checksum-action@v1
40+
with:
41+
pattern: "build/vstudio/Release/Finestray.exe"
42+
suffix: "sha256"
43+
3844
- name: Create portable artifact
3945
uses: actions/upload-artifact@v4
4046
with:
4147
name: portable
4248
path: build/vstudio/Release/Finestray.exe
49+
build/vstudio/Release/Finestray.exe.sha256
50+
51+
- name: Generate installer checksum
52+
uses: Solratic/checksum-action@v1
53+
with:
54+
pattern: "build/vstudio/Finestray-*-win64.exe"
55+
suffix: "sha256"
4356

4457
- name: Create installer artifact
4558
uses: actions/upload-artifact@v4
4659
with:
4760
name: installer
4861
path: build/vstudio/Finestray-*-win64.exe
62+
build/vstudio/Finestray-*-win64.exe.sha256
4963

5064
- name: Create release
5165
if: startsWith(github.ref, 'refs/tags/')
52-
uses: ncipollo/release-action@v1.14.0
66+
uses: ncipollo/release-action@v1
5367
with:
5468
artifactErrorsFailBuild: true
55-
artifacts: "build/vstudio/Release/Finestray.exe, build/vstudio/Finestray-*-*.exe"
69+
artifacts: "build/vstudio/Release/Finestray.exe*, build/vstudio/Finestray-*-win64.exe*"
5670
generateReleaseNotes: true

0 commit comments

Comments
 (0)