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'