From 41bdc0f0b982e2aebfcc99af1d7a0daf95f75e30 Mon Sep 17 00:00:00 2001 From: Oliverpool Date: Sun, 1 Nov 2015 21:33:54 +0100 Subject: [PATCH] Fix AppVeyor caching --- .appveyor.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index 5f929665..c607ae2a 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -23,7 +23,7 @@ install: - "python -c \"import struct; print(struct.calcsize('P') * 8)\"" # Install miktex portable - - ps: "wget http://mirrors.ctan.org/systems/win32/miktex/setup/miktex-portable-2.9.5719.exe -OutFile ./miktex-portable.exe" + - ps: "If (!(Test-Path miktex-portable.exe)){wget http://mirrors.ctan.org/systems/win32/miktex/setup/miktex-portable-2.9.5719.exe -OutFile ./miktex-portable.exe}" - "7z x miktex-portable.exe * -aot -omiktex > nul" #- cmd: dir .\miktex\miktex\bin @@ -44,4 +44,4 @@ test_script: # Cache Miktex zip install cache: -- C:\projects\patacrep\miktex-portable.exe -> .appveyor.yml +- C:\projects\patacrep\miktex-portable.exe \ No newline at end of file