fix: index

This commit is contained in:
msojocs 2024-07-07 10:52:39 +08:00
parent 112898c9b6
commit 4f1bc9af6d
2 changed files with 7 additions and 7 deletions

View File

@ -153,10 +153,10 @@ jobs:
sudo apt install -y xvfb sudo apt install -y xvfb
ls -l build ls -l build
ls -l test/runner/nwjs/wcc/build/Release ls -l test/runner/nwjs/wcc/build/Release
# pnpm run test pnpm run test
- uses: ./.github/actions/test # - uses: ./.github/actions/test
with: # with:
who-to-greet: 'Mona the Octocat' # who-to-greet: 'Mona the Octocat'
upload: upload:
name: Create release and upload artifacts name: Create release and upload artifacts

View File

@ -55,7 +55,7 @@ docker_start(){
curl http://127.0.0.1:8083/check curl http://127.0.0.1:8083/check
sleep 1 sleep 1
let i=$i+1 let i=$i+1
if [ $i -ge 50 ];then if [ $i -ge 20 ];then
echo "error" echo "error"
docker ps -a docker ps -a
docker logs wine docker logs wine
@ -65,12 +65,12 @@ docker_start(){
return 0 return 0
} }
for ((i=0; i<5; i++)); for ((j=0; j<5; j++));
do do
if docker_start; then if docker_start; then
printf "Docker started successfully.\n" printf "Docker started successfully.\n"
break break
elif [[ $i -eq 4 ]]; then elif [[ $j -eq 4 ]]; then
printf "Failed to start Docker after 5 attempts.\n" printf "Failed to start Docker after 5 attempts.\n"
docker ps -a docker ps -a
docker logs wine docker logs wine