From b062d62954e6a38305d1fda360729a00fd832c65 Mon Sep 17 00:00:00 2001 From: Black Hat Date: Tue, 30 Apr 2019 00:37:02 +0000 Subject: [PATCH] Per job, per branch cache. --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7f33df1..c2bcee1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -13,7 +13,7 @@ build-flatpak: - flatpak build-bundle repo spectral.flatpak org.eu.encom.spectral - cd ../ cache: - key: flatpak + key: "flatpak-$CI_COMMIT_REF_SLUG" paths: - flatpak/.flatpak-builder artifacts: @@ -35,7 +35,7 @@ build-appimage: - make INSTALL_ROOT=appdir install - /usr/bin/linuxdeployqt-continuous-x86_64.AppImage appdir/usr/share/applications/org.eu.encom.spectral.desktop -appimage -qmldir=qml -qmldir=imports -qmake=/opt/qt512/bin/qmake cache: - key: ccache + key: "appimage-$CI_COMMIT_REF_SLUG" paths: - ccache/