Appveyor continue if cache does not exist

This commit is contained in:
Gator96100 2020-10-04 21:23:45 +02:00
parent 064aa6775d
commit c2799c528a

View file

@ -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