From 4c6a01849c26c592f9a12152b54262d008dda73f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fran=C3=A7ois=20Grand?= <francois.grand@inrae.fr>
Date: Mon, 25 Apr 2022 12:20:13 +0200
Subject: [PATCH] fix(ci) : use jalhyd branch name to provide cache key

refs #526
---
 .gitlab-ci.yml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ba234b4ef..2e5f7049a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -36,6 +36,10 @@ before_script:
   - echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config
 
 cache:
+  key:
+    files:
+      - jalhyd_branch
+      - package.json
   paths:
     - node_modules/
 
-- 
GitLab