From 39e78512c00edf6a04b07b6582e7a5c7971b1173 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Tue, 12 Mar 2019 14:39:09 -0400 Subject: [PATCH] matrix only for caching --- appveyor.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 351abd4110..0db0614ac2 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -8,6 +8,14 @@ branches: stack: node 10 +init: +- sh: sudo apt-get update +- sh: sudo apt-get -y install pkg-config libxss-dev libsecret-1-dev rpm +- ps: | + if($isWindows) { + Install-Product node 10 + } + install: - ps: $env:package_version = (Get-Content -Raw -Path .\src\package.json | ConvertFrom-Json).version - ps: | @@ -43,9 +51,6 @@ for: - matrix: only: - image: Visual Studio 2017 - - init: - - ps: Install-Product node 10 cache: - '%USERPROFILE%\.electron -> appveyor.yml' @@ -54,10 +59,6 @@ for: only: - image: Ubuntu1804 - init: - - sh: sudo apt-get update - - sh: sudo apt-get -y install pkg-config libxss-dev libsecret-1-dev rpm - cache: - '/home/appveyor/.cache/electron -> appveyor.yml' - '/home/appveyor/.cache/electron-builder -> appveyor.yml'