From f7a3e4338e708d32dfd2f08e5652b07f7899e27e Mon Sep 17 00:00:00 2001 From: Black Hat Date: Thu, 2 Aug 2018 20:17:18 +0000 Subject: [PATCH] Fix cache #1. --- .gitlab-ci.yml | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b509f9b..5f7c5e9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,6 +2,10 @@ stages: - preparation - build - deploy + +cache: + paths: + - tmp/ preparation-flatpak: image: alpine/git @@ -12,10 +16,6 @@ preparation-flatpak: - cd tmp - git clone "https://$GIT_USERNAME:$GIT_PASSWORD@gitlab.com/b0/matrique-repo" - cd ../ - cache: - untracked: true - paths: - - tmp/ build-native: image: rabits/qt:5.11-desktop @@ -44,12 +44,8 @@ build-flatpak: - cd ../ deploy-flatpak: - image: fedora:latest + image: alpine/git stage: deploy - cache: - untracked: true - paths: - - tmp/ before_script: - git config --global user.name "$GIT_NAME" - git config --global user.email "$GIT_EMAIL"