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
ls -l build
ls -l test/runner/nwjs/wcc/build/Release
# pnpm run test
- uses: ./.github/actions/test
with:
who-to-greet: 'Mona the Octocat'
pnpm run test
# - uses: ./.github/actions/test
# with:
# who-to-greet: 'Mona the Octocat'
upload:
name: Create release and upload artifacts

View File

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