From c2799c528ab5ea0ecfc2b8044f062fed7e12fb78 Mon Sep 17 00:00:00 2001 From: Gator96100 Date: Sun, 4 Oct 2020 21:23:45 +0200 Subject: [PATCH] Appveyor continue if cache does not exist --- appveyor.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index f261e2b15..ef07fd286 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -103,7 +103,15 @@ clone_script: Write-Host "[ OK ]" -ForegroundColor Green } + Write-Host "ProxSpace: Removing folder..." -NoNewLine + $PSInstallTime=[System.Environment]::TickCount + + cd \ + + Remove-Item -Recurse -Force -Path $env:proxspace_path -ErrorAction SilentlyContinue + + Write-Host "[ OK ]" -ForegroundColor Green Write-Host "ProxSpace: downloading..." -NoNewLine @@ -133,7 +141,7 @@ clone_script: Write-Host "ProxSpace: move cache..." -NoNewLine - Move-Item -Path "C:\cache" -Destination "$env:proxspace_path\msys2\var\chache" + Move-Item -Path "C:\cache" -Destination "$env:proxspace_path\msys2\var\chache" -ErrorAction SilentlyContinue Write-Host "[ OK ]" -ForegroundColor Gree