Skip to content

Commit 7d64d18

Browse files
committed
Upload signed artifact for Windows
Signed-off-by: Michael Herger <[email protected]>
1 parent 83b6e5f commit 7d64d18

File tree

1 file changed

+17
-3
lines changed

1 file changed

+17
-3
lines changed

.github/actions/build/action.yaml

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ runs:
163163

164164
- name: Archive artifacts
165165
if: ${{ !startsWith(inputs.build-params, 'docker') }}
166-
uses: actions/upload-artifact@v4
166+
uses: actions/upload-artifact@v6
167167
id: upload-artifact
168168
with:
169169
name: ${{ inputs.build-params }}
@@ -182,8 +182,22 @@ runs:
182182
wait-for-completion: true
183183
output-artifact-directory: publish
184184

185-
- shell: bash
186-
run: ls -al publish/
185+
- name: Calculate hash for signed binaries
186+
if: ${{ startsWith(inputs.build-params, 'win64') }}
187+
shell: bash
188+
run: |
189+
for f in publish/*exe;
190+
do
191+
md5sum $f > $f.md5
192+
done
193+
194+
- name: Archive signed artifacts
195+
if: ${{ startsWith(inputs.build-params, 'win64') }}
196+
uses: actions/upload-artifact@v6
197+
id: upload-artifact
198+
with:
199+
name: ${{ inputs.build-params }}
200+
path: publish/*exe
187201

188202
- name: Upload artifacts to R2
189203
if: false

0 commit comments

Comments
 (0)