@@ -241,15 +241,15 @@ jobs:
241
241
python tools/ci/bsp_buildings.py
242
242
243
243
- name : Upload output as artifact
244
- if : ${{ success() && github.event.inputs.bsp_tool_chain == "attachconfig" }}
244
+ if : ${{ success() && github.event.inputs.output_contral == "attachconfig" }}
245
245
uses : actions/upload-artifact@main
246
246
with :
247
247
name : ${{ matrix.legs.RTT_BSP }}
248
248
if-no-files-found : ignore
249
249
path : output/
250
250
251
251
- name : Upload output as artifact
252
- if : ${{ success() && github.event.inputs.bsp_tool_chain == "versionconfig"}}
252
+ if : ${{ success() && github.event.inputs.output_contral == "versionconfig"}}
253
253
uses : actions/upload-artifact@main
254
254
with :
255
255
name : ${{ matrix.legs.RTT_BSP }}
@@ -263,10 +263,10 @@ jobs:
263
263
-d '{"body":"@${{ github.actor }}, Thank you for your contribution, but there was an error with the action. Could you please help check the BSP compilation issue? Thank you."}' \
264
264
"https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.pull_request.number }}/comments"
265
265
# 整合所有的output为一个文件夹
266
- collect-artifacts :
266
+ collect-artifacts1 :
267
267
needs : build
268
268
runs-on : ubuntu-latest
269
- if : ${{github.event_name != 'pull_request' && github.event.inputs.bsp_tool_chain == "attachconfig"}}
269
+ if : ${{github.event_name != 'pull_request' && github.event.inputs.output_contral == "attachconfig"}}
270
270
steps :
271
271
# 这里会下载所有产物
272
272
- name : Download all artifacts
@@ -281,10 +281,10 @@ jobs:
281
281
with :
282
282
name : 00_all_bsp_output_${{ github.sha }}
283
283
path : output/
284
- collect-artifacts :
284
+ collect-artifacts2 :
285
285
needs : build
286
286
runs-on : ubuntu-latest
287
- if : ${{github.event_name != 'pull_request' && github.event.inputs.bsp_tool_chain == "versionconfig"}}
287
+ if : ${{github.event_name != 'pull_request' && github.event.inputs.output_contral == "versionconfig"}}
288
288
steps :
289
289
- name : Download all artifacts
290
290
uses : actions/download-artifact@main
0 commit comments