Skip to content

Commit

Permalink
use set +e
Browse files Browse the repository at this point in the history
  • Loading branch information
shiyuhang0 committed Jul 20, 2023
1 parent 98515b0 commit 4c85ff7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/create-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,13 @@ jobs:
run: |
# delete all serverless
set +e
result=`ticloud cluster list 1372813089447741295 -o json`
ticloud cluster list 1372813089447741295 -o json > cluster
exitcode="$?"
if [[ "$exitcode" != "0" ]]; then
echo $result
cat cluster
exit "$exitcode"
fi
echo $result > cluster
total=$(jq '.total' cluster);
for i in $(seq 1 $total);
do
Expand Down

0 comments on commit 4c85ff7

Please sign in to comment.