[CI] Fix nightly benchmark (#1453)

### What this PR does / why we need it?
Sometimes the performance benchmark workflow may fail. We hope to add a
prompt when the operation fails and not upload the dirty data of the
failed operation.

---------

Signed-off-by: wangli <wangli858794774@gmail.com>
This commit is contained in:
Li Wang authored and GitHub committed 2025-06-26 19:39:18 +08:00
1 parent 192dbbcc6e
commit c563a08f0a
2 files changed
+10 -6

No files matched your search

@@ -1,5 +1,5 @@
#!/bin/bash
set -e
check_npus() {
# shellcheck disable=SC2155