Skip to content

Commit e948c4a

Browse files
kkabilarTTdanieldegrasse
authored andcommitted
Save the uploaded artifact as github output
Save artifact from build-fw Signed-off-by: Kannika Kabilar <[email protected]>
1 parent c5a864e commit e948c4a

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/build-fw.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ on:
55
secrets:
66
SIGNATURE_KEY:
77
required: true
8+
outputs:
9+
combined-fwbundle-artifact:
10+
description: "The combined firmware bundle artifact name"
11+
value: ${{ jobs.build-combined-fwbundle.outputs.combined-fwbundle-artifact }}
812
push:
913
branches:
1014
- main
@@ -151,6 +155,8 @@ jobs:
151155
build-combined-fwbundle:
152156
runs-on: ubuntu-24.04
153157
needs: build
158+
outputs:
159+
combined-fwbundle-artifact: ${{ steps.set_combined_fwbundle_output.outputs.combined_fwbundle_artifact }}
154160
steps:
155161
- uses: actions/checkout@v4
156162
with:
@@ -176,3 +182,6 @@ jobs:
176182
name: combined-fwbundle
177183
path: |
178184
fw_pack*.fwbundle
185+
186+
- id: set_combined_fwbundle_output
187+
run: echo "combined_fwbundle_artifact=combined-fwbundle" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)