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).
This commit is contained in:
m Kotob
2020-04-25 19:10:49 +03:00
committed by BARICHELLO
parent a7aa1967c7
commit b800450363

View File

@@ -1,5 +1,11 @@
image: barichello/godot-ci:3.2.1 image: barichello/godot-ci:3.2.1
# Cache imported assets between runs
cache:
key: import-assets
paths:
- .import/
stages: stages:
- export - export
- deploy - deploy