File tree 1 file changed +6
-3
lines changed
1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -61,10 +61,11 @@ jobs:
61
61
- name : Rename binary (linux and macos)
62
62
run : mv target/${{ matrix.platform.target }}/release/envfetch target/${{ matrix.platform.target }}/release/${{ matrix.platform.bin }}
63
63
if : matrix.platform.os_name != 'Windows-x86_64'
64
- - name : Generate ZIP (Windows)
64
+ - name : Generate ZIP and checksum for it (Windows)
65
65
run : |
66
66
cd target/${{ matrix.platform.target }}/release
67
67
tar.exe -a -c -f envfetch-windows-amd64.zip envfetch.exe
68
+ shasum -a 256 envfetch-windows-amd64.zip | cut -d ' ' -f 1 > envfetch-windows-amd64.zip.sha256
68
69
if : matrix.platform.os_name == 'Windows-x86_64'
69
70
- name : Rename binary (windows)
70
71
run : mv target/${{ matrix.platform.target }}/release/envfetch.exe target/${{ matrix.platform.target }}/release/${{ matrix.platform.bin }}
90
91
files : |
91
92
target/debian/envfetch-debian.deb
92
93
target/debian/envfetch-debian.deb.sha256
93
- - name : Release Windows archive to GitHub
94
+ - name : Release Windows archive and checksum of it to GitHub
94
95
uses : softprops/action-gh-release@v1
95
96
if : matrix.platform.os_name == 'Windows-x86_64'
96
97
with :
97
- files : target/${{ matrix.platform.target }}/release/envfetch-windows-amd64.zip
98
+ files : |
99
+ target/${{ matrix.platform.target }}/release/envfetch-windows-amd64.zip
100
+ target/${{ matrix.platform.target }}/release/envfetch-windows-amd64.zip.sha256
You can’t perform that action at this time.
0 commit comments