diff --git a/.github/workflows/configure-building-enviroment.sh b/.github/workflows/configure-building-enviroment.sh index a5a1f87..2113bc3 100755 --- a/.github/workflows/configure-building-enviroment.sh +++ b/.github/workflows/configure-building-enviroment.sh @@ -38,5 +38,11 @@ neofetch #apt build-dep qemu -y # 如果是 Debian10 就需要安装 Python3 的依赖 #apt build-dep python3.7 -y -apt build-dep . -y +for i in {1..5}; +do + apt build-dep . -y + if [[ $? == 0 ]]; then + break + fi +done exit 0 \ No newline at end of file