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 3046c1d
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions .github/workflows/bindings-ts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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}
Expand Down

0 comments on commit 3046c1d

Please sign in to comment.