Skip to content
Permalink
Browse files

ci: handle network drive not being available (#21247)

Fixes 'The system cannot find the path specified' error when trying to save source to shared network drive.
  • Loading branch information
codebytere authored and MarshallOfSound committed Nov 21, 2019
1 parent 0cadf28 commit 135a64955c7863ef6c33cdbd14a6da51461175d0
Showing with 3 additions and 1 deletion.
  1. +3 −1 appveyor.yml
@@ -96,7 +96,9 @@ build_script:
if ($env:TARGET_ARCH -ne 'ia32') {
# archive current source for future use
# only run on x64/woa to avoid contention saving
7z a $zipfile src -xr!android_webview -xr!electron -xr'!*\.git' -xr!third_party\WebKit\LayoutTests! -xr!third_party\blink\web_tests -xr!third_party\blink\perf_tests -slp -t7z -mmt=30
if ($(7z a $zipfile src -xr!android_webview -xr!electron -xr'!*\.git' -xr!third_party\WebKit\LayoutTests! -xr!third_party\blink\web_tests -xr!third_party\blink\perf_tests -slp -t7z -mmt=30;$LASTEXITCODE -ne 0)) {
Write-warning "Could not save source to shared drive; continuing anyway"
}
}
}
}

0 comments on commit 135a649

Please sign in to comment.
You can’t perform that action at this time.