diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c976df72fe9ca82077385aa0a988284ee0463d10..63dcaaafe3c24d3e9cd59ed15296156016a12cee 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,6 +1,12 @@
 ---
 image: mathiwr/amdis-base:debian9
 
+cache:
+  key: "$CI_BUILD_REF_NAME"
+  untracked: true
+  paths:
+  - install/
+
 stages:
   - build
   - demo
@@ -12,9 +18,6 @@ build:9-debug-gcc:
   stage: build
   script:
   - tools/build_amdis.sh --stage build --config Debug
-  artifacts:
-    paths:
-    - install/
   only:
   - master
 
@@ -22,9 +25,6 @@ build:9-release-gcc:
   stage: build
   script:
   - tools/build_amdis.sh --stage build --config Release
-  artifacts:
-    paths:
-    - install/
   only:
   - master
 
@@ -32,9 +32,6 @@ build:9-parallel-debug-gcc:
   stage: build
   script:
   - tools/build_amdis.sh --stage build --config Debug --parallel
-  artifacts:
-    paths:
-    - install/
   only:
   - master
 
@@ -42,9 +39,6 @@ build:9-parallel-release-gcc:
   stage: build
   script:
   - tools/build_amdis.sh --stage build --config Release --parallel
-  artifacts:
-    paths:
-    - install/
   only:
   - master