diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b9689c8ea11a3fe7059c2e20b9f33f52d8322bb4..7f2caacd2d1def32a290800eaa22e2b52e3d9712 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -181,7 +181,7 @@ windows:build_debug:
   dependencies: []
 
   cache: # use artifacts instead if multiple runners available
-    key: $CI_COMMIT_SHORT_SHA
+    key: "$CI_COMMIT_SHORT_SHA debug"
     paths:
       - build_debug/
 
@@ -262,7 +262,7 @@ windows:pack_debug:
   needs: ["windows:test", "windows:build_debug"]
 
   cache: # use artifacts instead if multiple runners available
-    key: $CI_COMMIT_SHORT_SHA
+    key: "$CI_COMMIT_SHORT_SHA debug"
     paths:
       - build_debug/