From b3a2bdb6fa9895519f608b4dc1737369cd612c82 Mon Sep 17 00:00:00 2001 From: Andrew Harvey Date: Mon, 3 May 2021 14:23:40 +1000 Subject: global cache --- .gitlab-ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0cf08ec..f0c9bc1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,6 +1,6 @@ image: "debian:buster-slim" -cache: +cache: &global_cache key: global paths: - .yarn @@ -14,6 +14,7 @@ stages: prepare: stage: prepare cache: + <<: *global_cache policy: push script: - apt-get update && apt-get install -y curl gnupg gdal-bin unzip wget make @@ -29,6 +30,7 @@ prepare: build: stage: build cache: + <<: *global_cache policy: pull script: - apt-get update && apt-get install -y curl gnupg make -- cgit v1.2.3