From 9dac8d219f6120e72e6b2ca8d1d9c46615dfe9cc Mon Sep 17 00:00:00 2001 From: Eduard Braun Date: Mon, 10 Jul 2017 22:14:35 +0200 Subject: CI: Save AppVeyor cache if the compilation succeeds (even if installation or tests might fail). This should speed up builds in scenarios where e.g. an MSYS2 update broke the installation while the build itself still works. --- appveyor.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/appveyor.sh b/appveyor.sh index 70b983f09..85776eb8a 100644 --- a/appveyor.sh +++ b/appveyor.sh @@ -47,6 +47,7 @@ message "--- Compiling Inkscape" ccache --zero-stats ninja || error "compilation failed" ccache --show-stats +appveyor SetVariable -Name APPVEYOR_SAVE_CACHE_ON_ERROR -Value true # build succeeded so it's safe to save the cache # install message "--- Installing the project" -- cgit v1.2.3