Appveyor continue if cache does not exist
This commit is contained in:
10
appveyor.yml
10
appveyor.yml
@@ -103,7 +103,15 @@ clone_script:
|
|||||||
Write-Host "[ OK ]" -ForegroundColor Green
|
Write-Host "[ OK ]" -ForegroundColor Green
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Write-Host "ProxSpace: Removing folder..." -NoNewLine
|
||||||
|
|
||||||
$PSInstallTime=[System.Environment]::TickCount
|
$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
|
Write-Host "ProxSpace: downloading..." -NoNewLine
|
||||||
|
|
||||||
@@ -133,7 +141,7 @@ clone_script:
|
|||||||
|
|
||||||
Write-Host "ProxSpace: move cache..." -NoNewLine
|
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
|
Write-Host "[ OK ]" -ForegroundColor Gree
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user