Skip to content

Commit

Permalink
adjust sleep scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Ifropc committed Dec 14, 2024
1 parent 70ec673 commit b11293b
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions .github/workflows/bindings-ts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,13 @@ jobs:
if: runner.os != 'windows'
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
Expand All @@ -88,9 +92,13 @@ jobs:
if: runner.os == 'windows'
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}
Expand Down

0 comments on commit b11293b

Please sign in to comment.