From 439bef7f00fd7d0f3b2cb70096f8efb0a6925b78 Mon Sep 17 00:00:00 2001 From: jonny <ga86lad@mytum.de> Date: Wed, 29 Dec 2021 02:06:14 +0100 Subject: [PATCH] cache dist per branch --- .gitignore | 1 + .gitlab-ci.yml | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/.gitignore b/.gitignore index deffb08..f762f03 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ dist-newstyle/* .stack-work +test/test-output \ No newline at end of file diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c52508f..38267e7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -32,6 +32,10 @@ run-test: when: always paths: - 'test/test-output' + cache: + key: '$CI_JOB_NAME-$CI_COMMIT_REF_SLUG' + paths: + - dist trigger-mapservice-pipeline: only: -- GitLab