1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-05 09:10:53 +01:00

matrix only for caching

This commit is contained in:
Kyle Spearrin 2019-03-12 14:39:09 -04:00
parent 51b206b07b
commit 39e78512c0

View File

@ -8,6 +8,14 @@ branches:
stack: node 10 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: install:
- ps: $env:package_version = (Get-Content -Raw -Path .\src\package.json | ConvertFrom-Json).version - ps: $env:package_version = (Get-Content -Raw -Path .\src\package.json | ConvertFrom-Json).version
- ps: | - ps: |
@ -44,9 +52,6 @@ for:
only: only:
- image: Visual Studio 2017 - image: Visual Studio 2017
init:
- ps: Install-Product node 10
cache: cache:
- '%USERPROFILE%\.electron -> appveyor.yml' - '%USERPROFILE%\.electron -> appveyor.yml'
@ -54,10 +59,6 @@ for:
only: only:
- image: Ubuntu1804 - image: Ubuntu1804
init:
- sh: sudo apt-get update
- sh: sudo apt-get -y install pkg-config libxss-dev libsecret-1-dev rpm
cache: cache:
- '/home/appveyor/.cache/electron -> appveyor.yml' - '/home/appveyor/.cache/electron -> appveyor.yml'
- '/home/appveyor/.cache/electron-builder -> appveyor.yml' - '/home/appveyor/.cache/electron-builder -> appveyor.yml'