diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index caa0b6e..205bb1a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -43,6 +43,14 @@ flatpak: - hammond-dev.flatpak expire_in: 2 days + cache: + # JOB_NAME - Each job will have it's own cache + # COMMIT_REF_SLUG = Lowercase name of the branch + # ^ Keep diffrerent caches for each branch + key: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG" + paths: + - .flatpak-builder/cache/ + # Configure and run rustfmt on nightly # Exits and builds fails if on bad format rustfmt: