From 81e7ed2994fc3ad3a4762609665f3e6ca6ed8fb1 Mon Sep 17 00:00:00 2001 From: m Kotob Date: Sat, 25 Apr 2020 19:10:49 +0300 Subject: [PATCH] Add caching for imported assets This will cache the imported files between each run. This massively speeds up the export stage for big projects. Note that this will save the cache *after* a stage is done, so if you add new files it will still import them once for each platform (but will not import them again in the future, which is what matter). --- .gitlab-ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2d26038..1816cc3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,11 @@ image: barichello/godot-ci:3.2.1 +# Cache imported assets between runs +cache: + key: import-assets + paths: + - .import/ + stages: - export - deploy