ci: fix test result doesn't upload (#31297)

This commit is contained in:
Yihau Chen 2023-04-21 16:31:35 +08:00 committed by GitHub
parent 17eab32ad0
commit def2af1653
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ else
SUCCESS=false
fi
if [[ -n $BUILDKITE && -f "results.json" ]]; then
if [[ -n $BUILDKITE ]]; then
if need_to_upload_test_result; then
if [[ -f "results.json" ]]; then
# extract lines which start with '{'