From ecdffd35999f925a82f210d4b49aa073fe27d3f0 Mon Sep 17 00:00:00 2001 From: niansa Date: Sat, 9 Mar 2024 02:41:56 +0000 Subject: [PATCH] Move cache usage declaration into build-linux --- .gitlab-ci.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 048afc17c3..fcd45fca08 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -11,16 +11,15 @@ clang-format: - git submodule update --init --depth 1 --recursive - bash .ci/scripts/format/script.sh -cache: - paths: - - ccache/ - build-linux: stage: build image: suyuemu/cibuild:linux-x64 resource_group: linux-ci variables: RELEASE_NAME: mainline + cache: + paths: + - ccache/ before_script: - mkdir -p ccache - export CCACHE_BASEDIR=${PWD}