Skip to content

Commit c818253

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

File tree

2 files changed

+20
-4
lines changed

2 files changed

+20
-4
lines changed

.github/actions/build/action.yaml

Lines changed: 13 additions & 4 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 }}
@@ -180,10 +180,19 @@ runs:
180180
artifact-configuration-slug: '${{ inputs.SIGNPATH_ARTIFACT_CONFIG_SLUG }}'
181181
github-artifact-id: '${{ steps.upload-artifact.outputs.artifact-id }}'
182182
wait-for-completion: true
183-
output-artifact-directory: publish
183+
output-artifact-directory: publish/signed
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/signed/*exe;
190+
do
191+
md5sum $f > $f.md5
192+
cat $f.md5
193+
done
194+
ls -al publish/signed/
195+
ls -al publish/
187196
188197
- name: Upload artifacts to R2
189198
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/signed/
179+
173180
updateRepoFile:
174181
name: Trigger repository file update
175182
if: false

0 commit comments

Comments
 (0)