mirror of
https://github.com/msojocs/wx-compiler.git
synced 2025-07-19 00:00:04 +08:00
fix: index
This commit is contained in:
parent
112898c9b6
commit
4f1bc9af6d
8
.github/workflows/release.yml
vendored
8
.github/workflows/release.yml
vendored
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user