From 7b2e948b0b76e2d9fd5cffeb64237788965ff444 Mon Sep 17 00:00:00 2001 From: Peter Stuifzand Date: Thu, 20 May 2021 23:50:08 +0200 Subject: [PATCH] Only use repo, arch and os in cache key --- .drone.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 4706da0..9aeeb7b 100644 --- a/.drone.yml +++ b/.drone.yml @@ -22,7 +22,7 @@ steps: settings: backend: "filesystem" restore: true - cache_key: '{{ .Repo.Name }}_{{ checksum "editor/package.json" }}_{{ checksum "editor/package-lock.json" }}_{{ arch }}_{{ os }}' + cache_key: '{{ .Repo.Name }}_{{ arch }}_{{ os }}' archive_format: "gzip" mount: - './editor/node_modules' @@ -49,7 +49,7 @@ steps: settings: backend: "filesystem" rebuild: true - cache_key: '{{ .Repo.Name }}_{{ checksum "editor/package.json" }}_{{ checksum "editor/package-lock.json" }}_{{ arch }}_{{ os }}' + cache_key: '{{ .Repo.Name }}_{{ arch }}_{{ os }}' archive_format: "gzip" mount: - './editor/node_modules'