File tree 1 file changed +24
-1
lines changed
1 file changed +24
-1
lines changed Original file line number Diff line number Diff line change 9
9
paths-ignore :
10
10
- ' .gitignore'
11
11
- ' README.md'
12
+ release :
13
+ types :
14
+ - published
12
15
13
16
env :
14
17
REGISTRY : ghcr.io
@@ -180,7 +183,27 @@ jobs:
180
183
- name : Upload artifact
181
184
182
185
with :
183
- name : ${{ steps.build-firmware.outputs.output_basename }}
186
+ name : firmware-build- ${{ steps.build-firmware.outputs.output_basename }}
184
187
path : outputs/*
185
188
compression-level : 9
186
189
if-no-files-found : error
190
+
191
+ release-assets :
192
+ name : Upload release assets
193
+ needs : [build-firmwares]
194
+ if : github.event_name == 'release'
195
+ runs-on : ubuntu-latest
196
+ permissions :
197
+ contents : write
198
+ steps :
199
+ - name : Download all workflow artifacts
200
+ uses : actions/download-artifact@v4
201
+ with :
202
+ path : artifacts
203
+ merge-multiple : true
204
+ pattern : firmware-build-*
205
+
206
+ - name : Upload artifacts
207
+ uses : softprops/action-gh-release@v1
208
+ with :
209
+ files : artifacts/*.gbl
You can’t perform that action at this time.
0 commit comments