Add Python tools installation from Github releases for Windows (#705)

* Add Toolset provision for Windows
Co-authored-by: MaksimZhukov <v-mazhuk@microsoft.com>
This commit is contained in:
Maksim Petrov
2020-04-30 18:11:40 +03:00
committed by GitHub
parent 42fefbe9fe
commit 0413a02d9a
12 changed files with 303 additions and 61 deletions

View File

@@ -283,6 +283,11 @@ function Get-ToolcachePackages {
Get-Content -Raw $toolcachePath | ConvertFrom-Json
}
function Get-ToolsetContent {
$toolsetJson = Get-Content -Path $env:TOOLSET_JSON_PATH -Raw
ConvertFrom-Json -InputObject $toolsetJson
}
function Get-ToolsByName {
param (
[Parameter(Mandatory = $True)]