mirror of
https://github.com/balena-io/etcher.git
synced 2025-07-19 09:16:38 +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:
|
cache:
|
||||||
- C:\Users\appveyor\.node-gyp
|
- C:\Users\appveyor\.node-gyp
|
||||||
- '%AppData%\npm-cache'
|
- '%AppData%\npm-cache'
|
||||||
|
- '%CHOCOLATEY_CACHE%'
|
||||||
|
|
||||||
# what combinations to test
|
# what combinations to test
|
||||||
environment:
|
environment:
|
||||||
global:
|
global:
|
||||||
ELECTRON_NO_ATTACH_CONSOLE: true
|
ELECTRON_NO_ATTACH_CONSOLE: true
|
||||||
|
CHOCOLATEY_CACHE: '%AppData%\chocolatey-cache'
|
||||||
matrix:
|
matrix:
|
||||||
- nodejs_version: 6.1.0
|
- nodejs_version: 6.1.0
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- ps: Install-Product node $env:nodejs_version x64
|
- ps: Install-Product node $env:nodejs_version x64
|
||||||
- npm install -g npm bower rimraf asar
|
- npm install -g npm bower rimraf asar
|
||||||
|
- choco config set cacheLocation %CHOCOLATEY_CACHE%
|
||||||
- choco install nsis -version 2.51
|
- choco install nsis -version 2.51
|
||||||
- choco install upx
|
- choco install upx
|
||||||
- choco install 7zip.commandline
|
- choco install 7zip.commandline
|
||||||
|
Loading…
x
Reference in New Issue
Block a user