Skip to content

Commit abfac24

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

File tree

2 files changed

+16
-3
lines changed

2 files changed

+16
-3
lines changed

.github/actions/build/action.yaml

Lines changed: 9 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,14 @@ 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
187193
188194
- name: Upload artifacts to R2
189195
if: false

.github/workflows/00_build.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,13 @@ jobs:
170170
SIGNPATH_SIGNING_POLICY_SLUG: ${{ vars.SIGNPATH_SIGNING_POLICY_SLUG }}
171171
SIGNPATH_ARTIFACT_CONFIG_SLUG: ${{ vars.SIGNPATH_ARTIFACT_CONFIG_SLUG }}
172172

173+
- name: Archive signed artifacts
174+
uses: actions/upload-artifact@v6
175+
id: upload-artifact
176+
with:
177+
name: ${{ inputs.build-params }}
178+
path: publish/*exe
179+
173180
updateRepoFile:
174181
name: Trigger repository file update
175182
if: false

0 commit comments

Comments
 (0)