Per job, per branch cache.

This commit is contained in:
Black Hat 2019-04-30 00:37:02 +00:00
parent 4a357e5f95
commit b062d62954
1 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ build-flatpak:
- flatpak build-bundle repo spectral.flatpak org.eu.encom.spectral - flatpak build-bundle repo spectral.flatpak org.eu.encom.spectral
- cd ../ - cd ../
cache: cache:
key: flatpak key: "flatpak-$CI_COMMIT_REF_SLUG"
paths: paths:
- flatpak/.flatpak-builder - flatpak/.flatpak-builder
artifacts: artifacts:
@ -35,7 +35,7 @@ build-appimage:
- make INSTALL_ROOT=appdir install - 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 - /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: cache:
key: ccache key: "appimage-$CI_COMMIT_REF_SLUG"
paths: paths:
- ccache/ - ccache/