From 6f44227917d70990a8972d8f59e1c51a21b0d8e2 Mon Sep 17 00:00:00 2001 From: SteveSandersonMS Date: Mon, 17 Oct 2016 19:35:28 +0100 Subject: [PATCH] Attempt to fix CI build issues --- build.ps1 | 3 +++ build.sh | 3 +++ 2 files changed, 6 insertions(+) diff --git a/build.ps1 b/build.ps1 index 8f2f99691a..fe1454dbac 100644 --- a/build.ps1 +++ b/build.ps1 @@ -28,6 +28,9 @@ function DownloadWithRetry([string] $url, [string] $downloadLocation, [int] $ret } } +# Avoid issues similar to https://github.com/npm/npm/issues/10826 +npm cache clean + cd $PSScriptRoot $repoFolder = $PSScriptRoot diff --git a/build.sh b/build.sh index f4208100eb..3d8bbf51ec 100755 --- a/build.sh +++ b/build.sh @@ -2,6 +2,9 @@ repoFolder="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" cd $repoFolder +# Avoid issues similar to https://github.com/npm/npm/issues/10826 +npm cache clean + koreBuildZip="https://github.com/aspnet/KoreBuild/archive/dev.zip" if [ ! -z $KOREBUILD_ZIP ]; then koreBuildZip=$KOREBUILD_ZIP