diff --git a/.github/workflows/bindings-ts.yml b/.github/workflows/bindings-ts.yml index 69ec960b4..c31163c00 100644 --- a/.github/workflows/bindings-ts.yml +++ b/.github/workflows/bindings-ts.yml @@ -78,8 +78,13 @@ jobs: shell: bash - run: | docker inspect -f {{.State.Health.Status}} quickstart - until [ "`docker inspect -f {{.State.Health.Status}} quickstart`"=="healthy" ]; do - sleep 0.1; + while true; do + status=`docker inspect -f {{.State.Health.Status}} quickstart` + echo "quickstart status: $status" + if [ "$status" == "healthy" ]; then + break + fi + sleep 1; done; if: runner.os != 'windows' shell: bash @@ -89,8 +94,13 @@ jobs: shell: wsl-run {0} - run: | docker inspect -f {{.State.Health.Status}} quickstart - until [ "`docker inspect -f {{.State.Health.Status}} quickstart`"=="healthy" ]; do - sleep 0.1; + while true; do + status=`docker inspect -f {{.State.Health.Status}} quickstart` + echo "quickstart status: $status" + if [ "$status" == "healthy" ]; then + break + fi + sleep 1; done; if: runner.os == 'windows' shell: wsl-run {0}