From 3df222b7c4c8f5c98087067f0aaf5e0545caf7d3 Mon Sep 17 00:00:00 2001 From: gfdgd_xi <3025613752@qq.com> Date: Sat, 31 Aug 2024 08:25:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BE=9D=E8=B5=96=E5=AE=89?= =?UTF-8?q?=E8=A3=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/configure-building-enviroment.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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