mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Use CLI obtain script to install on AppVeyor
This commit is contained in:
+3
-3
@@ -14,11 +14,11 @@ install:
|
||||
- ps: Set-Content c:\users\appveyor\.ssh\id_rsa $fileContent
|
||||
- git config --global url.git@github.com:.insteadOf https://github.com/
|
||||
- git submodule update --init --recursive -- src/monad src/windows-build src/Microsoft.PowerShell.Linux.Host/Modules/Pester
|
||||
- ps: Invoke-WebRequest -Uri https://dotnetcli.blob.core.windows.net/dotnet/dev/Binaries/Latest/dotnet-win-x64.latest.zip -OutFile dotnet.zip
|
||||
- 7z x dotnet.zip -odotnet > nul
|
||||
- ps: Invoke-WebRequest -Uri https://raw.githubusercontent.com/dotnet/cli/rel/1.0.0/scripts/obtain/install.ps1 -OutFile install.ps1
|
||||
- ps: ./install.ps1 -version "1.0.1.001186"
|
||||
|
||||
build_script:
|
||||
- ps: Set-Alias -Name dotnet -Value "$pwd\dotnet\bin\dotnet.exe"
|
||||
- ps: $env:Path += ";$env:LocalAppData\Microsoft\dotnet\cli\bin"
|
||||
- ps: dotnet restore
|
||||
- ps: .\build.ps1
|
||||
- ps: .\build.fullCLR.ps1
|
||||
|
||||
Reference in New Issue
Block a user