From fed8a2d0a0db395cf5359763ec99527278fb4cbe Mon Sep 17 00:00:00 2001 From: skeleton Date: Fri, 25 Oct 2024 07:03:03 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0.gitlab-ci.yml=E6=96=87?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitlab-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a05e2a1..860a90f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -42,7 +42,7 @@ build-job: - echo '编译' - go env -w GO111MODULE=off - | - while IFS= read -r line + while IFS= read -r line || [[ -n $line ]] do cd $line echo "编译 $line" @@ -66,7 +66,7 @@ save-job: # 删除自定义配置 - echo '删除自定义配置' - | - while IFS= read -r line + while IFS= read -r line || [[ -n $line ]] do echo "删除 $line 配置" rm ./temp/data/$line @@ -74,7 +74,7 @@ save-job: # 拷贝可执行程序 - echo '拷贝可执行程序' - | - while IFS= read -r line + while IFS= read -r line || [[ -n $line ]] do echo "拷贝 $line" mv ./$line/$line ./temp/$line