@@ -241,15 +241,15 @@ jobs:
241241 python tools/ci/bsp_buildings.py
242242
243243 - name : Upload output as artifact
244- if : ${{ success() && github.event.inputs.bsp_tool_chain == "attachconfig" }}
244+ if : ${{ success() && github.event.inputs.output_contral == "attachconfig" }}
245245 uses : actions/upload-artifact@main
246246 with :
247247 name : ${{ matrix.legs.RTT_BSP }}
248248 if-no-files-found : ignore
249249 path : output/
250250
251251 - name : Upload output as artifact
252- if : ${{ success() && github.event.inputs.bsp_tool_chain == "versionconfig"}}
252+ if : ${{ success() && github.event.inputs.output_contral == "versionconfig"}}
253253 uses : actions/upload-artifact@main
254254 with :
255255 name : ${{ matrix.legs.RTT_BSP }}
@@ -263,10 +263,10 @@ jobs:
263263 -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."}' \
264264 "https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.pull_request.number }}/comments"
265265 # 整合所有的output为一个文件夹
266- collect-artifacts :
266+ collect-artifacts1 :
267267 needs : build
268268 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"}}
270270 steps :
271271 # 这里会下载所有产物
272272 - name : Download all artifacts
@@ -281,10 +281,10 @@ jobs:
281281 with :
282282 name : 00_all_bsp_output_${{ github.sha }}
283283 path : output/
284- collect-artifacts :
284+ collect-artifacts2 :
285285 needs : build
286286 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"}}
288288 steps :
289289 - name : Download all artifacts
290290 uses : actions/download-artifact@main
0 commit comments