Skip to content

Commit

Permalink
change wait
Browse files Browse the repository at this point in the history
  • Loading branch information
youyuanwu committed Nov 20, 2023
1 parent b050730 commit e152463
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,8 @@ jobs:
COMMAND_STATUS=1
until [ $COMMAND_STATUS -eq 0 ]; do
echo "attempt #${counter}"
sfctl cluster select || COMMAND_STATUS=$?
sfctl cluster select
COMMAND_STATUS=$?
sleep 1
let counter=counter+1
if [[ $counter -eq 10 ]] ;
Expand Down

0 comments on commit e152463

Please sign in to comment.