mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-03-10 15:07:30 +08:00
Moved cache creation to on_finish
This commit is contained in:
parent
f7f4ce1fb7
commit
91c9136347
1 changed files with 14 additions and 11 deletions
25
appveyor.yml
25
appveyor.yml
|
@ -265,16 +265,6 @@ build_script:
|
|||
|
||||
#ProxSpace
|
||||
|
||||
Write-Host "ProxSpace: create new cache..." -NoNewLine
|
||||
|
||||
ExecMinGWCmd 'yes | pacman -Sc > /dev/null 2>&1'
|
||||
|
||||
Remove-Item -Recurse -Force -Path "$env:proxspace_cache_path" -ErrorAction SilentlyContinue
|
||||
|
||||
Move-Item -Path "$env:proxspace_path\msys2\var\cache" -Destination "$env:proxspace_cache_path" -Force
|
||||
|
||||
Write-Host "[ OK ]" -ForegroundColor Gree
|
||||
|
||||
Write-Host "---------- PS make ----------" -ForegroundColor Yellow
|
||||
|
||||
$TestTime=[System.Environment]::TickCount
|
||||
|
@ -333,4 +323,17 @@ on_success:
|
|||
on_failure:
|
||||
- ps: Write-Host "Build error." -ForegroundColor Red
|
||||
on_finish:
|
||||
- ps: # $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
|
||||
- ps: >-
|
||||
# $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
|
||||
|
||||
Write-Host "ProxSpace: create new cache..." -NoNewLine
|
||||
|
||||
cd $env:proxspace_path
|
||||
|
||||
./runme64.bat -c "yes | pacman -Sc > /dev/null 2>&1"
|
||||
|
||||
Remove-Item -Recurse -Force -Path "$env:proxspace_cache_path" -ErrorAction SilentlyContinue
|
||||
|
||||
Move-Item -Path "$env:proxspace_path\msys2\var\cache" -Destination "$env:proxspace_cache_path" -Force
|
||||
|
||||
Write-Host "[ OK ]" -ForegroundColor Gree
|
||||
|
|
Loading…
Reference in a new issue