Fix build checkout retry mechanism. We need to retry on both step failure or step infra failure. Change-Id: I963f1b23d71f4a9bcd3883373a748fce96cdcac8 Bug: https://github.com/flutter/flutter/issues/58516 Reviewed-on: https://flutter-review.googlesource.com/c/recipes/+/3400 Commit-Queue: Godofredo Contreras <godofredoc@google.com> Reviewed-by: Tong Wu <wutong@google.com>