Skip to content

Commit 17b107b

Browse files
Fix how 'current' and 'preview' SDKs are merged in Appveyor builds
1 parent 67cd5f6 commit 17b107b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ install:
1313
- ps: (New-Object System.Net.WebClient).DownloadFile($urlPreview, $tempFilePreview)
1414
- ps: Add-Type -AssemblyName System.IO.Compression.FileSystem; [System.IO.Compression.ZipFile]::ExtractToDirectory($tempFileCurrent, $env:DOTNET_INSTALL_DIR)
1515
- ps: Add-Type -AssemblyName System.IO.Compression.FileSystem; [System.IO.Compression.ZipFile]::ExtractToDirectory($tempFilePreview, $env:DOTNET_INSTALL_DIR + "preview")
16-
- ps: Move-Item "${env:DOTNET_INSTALL_DIR}preview\sdk\*" "${env:DOTNET_INSTALL_DIR}\sdk\"
16+
- ps: Copy-Item "${env:DOTNET_INSTALL_DIR}preview\*" "${env:DOTNET_INSTALL_DIR}" -Force -Recurse
1717
- ps: $env:Path = "$env:DOTNET_INSTALL_DIR;$env:Path"
1818
build_script:
1919
- npm install -g npm@^3.0.0

0 commit comments

Comments
 (0)