From e3f130850591d06d2a58409a8980411fb2386e79 Mon Sep 17 00:00:00 2001 From: Chen Yudong Date: Thu, 29 Sep 2022 21:33:03 +0800 Subject: [PATCH] CI: fix upload submodule cache for runners using mirror server --- .gitlab/ci/upload_cache.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitlab/ci/upload_cache.yml b/.gitlab/ci/upload_cache.yml index 8a512f8c75..191c0328a0 100644 --- a/.gitlab/ci/upload_cache.yml +++ b/.gitlab/ci/upload_cache.yml @@ -40,6 +40,8 @@ upload-submodules-cache: - .cache/submodule_archives policy: push script: + # use the default gitlab server + - unset LOCAL_GITLAB_HTTPS_HOST - rm -rf .cache/submodule_archives # clear old submodule archives - add_gitlab_ssh_keys - fetch_submodules