Update .gitlab-ci.yml file to use CI cache to improve CI performance

- referenced: https://qiita.com/SatoshiTerasaki/items/4be31630955b3dbe3bbc#cache-に関して
This commit is contained in:
Wataru Otsubo 2024-10-01 18:16:53 +02:00
parent 23d2ed02e2
commit 9520a2021e

View file

@ -1,3 +1,14 @@
variables:
CI_JULIA_CACHE_DIR: ${CI_PROJECT_DIR}/julia_pkg
JULIA_DEPOT_PATH: ${CI_JULIA_CACHE_DIR}
cache:
key:
files:
- Project.toml
- docs/Project.toml
prefix: ${CI_JOB_NAME}
paths:
- ${CI_JULIA_CACHE_DIR}
.script:
script:
- |