[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
2025-06-26 19:39:18 +08:00
committed by GitHub
parent 192dbbcc6e
commit c563a08f0a
2 changed files with 10 additions and 6 deletions

View File

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