gitlabci: try to cache the flatpak build

This commit is contained in:
Jordan Petridis 2018-03-18 05:03:02 +02:00
parent 1b558d3b30
commit 327c907463
No known key found for this signature in database
GPG Key ID: CEABAD9F5683B9A6

View File

@ -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: