mirror of
https://github.com/balena-io/etcher.git
synced 2025-04-24 07:17:18 +00:00
chore: persist a chocolatey cache Appveyor CI builds (#809)
Setting a Chocolatey cache and Making sure it gets persisted means that future builds don't have to download every Chocolatey package from the internet every time. Signed-off-by: Juan Cruz Viotti <jviotti@openmailbox.org>
This commit is contained in:
parent
45dac58e2a
commit
e603cb0838
@ -9,17 +9,20 @@ image: Visual Studio 2013
|
||||
cache:
|
||||
- C:\Users\appveyor\.node-gyp
|
||||
- '%AppData%\npm-cache'
|
||||
- '%CHOCOLATEY_CACHE%'
|
||||
|
||||
# what combinations to test
|
||||
environment:
|
||||
global:
|
||||
ELECTRON_NO_ATTACH_CONSOLE: true
|
||||
CHOCOLATEY_CACHE: '%AppData%\chocolatey-cache'
|
||||
matrix:
|
||||
- nodejs_version: 6.1.0
|
||||
|
||||
install:
|
||||
- ps: Install-Product node $env:nodejs_version x64
|
||||
- npm install -g npm bower rimraf asar
|
||||
- choco config set cacheLocation %CHOCOLATEY_CACHE%
|
||||
- choco install nsis -version 2.51
|
||||
- choco install upx
|
||||
- choco install 7zip.commandline
|
||||
|
Loading…
x
Reference in New Issue
Block a user