File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -245,22 +245,22 @@ jobs:
245245 comment_mode : off
246246
247247 - name : Check out source code
248- if : failure()
248+ if : needs.twister-build.result == ' failure'
249249 uses : actions/checkout@v4
250250 with :
251251 ref : ${{ github.event.pull_request.head.sha }}
252252 fetch-depth : 0
253253 persist-credentials : false
254254
255255 - name : Analyze Twister Reports
256- if : failure()
256+ if : needs.twister-build.result == ' failure'
257257 run : |
258258 ./scripts/ci/twister_report_analyzer.py artifacts/*/*/twister.json --long-summary --platforms --output-md errors.md
259259 echo '### Error Summary! 🚀' >> $GITHUB_STEP_SUMMARY
260260 cat errors.md >> $GITHUB_STEP_SUMMARY
261261
262262 - name : Upload Twister Analysis Results
263- if : failure()
263+ if : needs.twister-build.result == ' failure'
264264 uses : actions/upload-artifact@v4
265265 with :
266266 name : Twister Analysis Results
You can’t perform that action at this time.
0 commit comments