mirror of
https://github.com/actions/runner-images.git
synced 2025-12-20 06:35:47 +00:00
[Windows] Implement new directories hierarchy (#8616)
This commit is contained in:
committed by
GitHub
parent
84a7deae24
commit
d1f2c9a3be
25
images/windows/scripts/build/Install-ServiceFabricSDK.ps1
Normal file
25
images/windows/scripts/build/Install-ServiceFabricSDK.ps1
Normal file
@@ -0,0 +1,25 @@
|
||||
################################################################################
|
||||
## File: Install-ServiceFabricSDK.ps1
|
||||
## Desc: Install webpicmd and then the service fabric sdk
|
||||
## must be install after Visual Studio
|
||||
################################################################################
|
||||
|
||||
# Creating 'Installer' cache folder if it doesn't exist
|
||||
New-Item -Path 'C:\Windows\Installer' -ItemType Directory -Force
|
||||
|
||||
# Get Service Fabric components versions
|
||||
$serviceFabricRuntimeVersion = (Get-ToolsetContent).serviceFabric.runtime.version
|
||||
$serviceFabricSDKVersion = (Get-ToolsetContent).serviceFabric.sdk.version
|
||||
|
||||
# Install Service Fabric Runtime for Windows
|
||||
$InstallerName = "MicrosoftServiceFabric.${serviceFabricRuntimeVersion}.exe"
|
||||
$InstallerUrl = "https://download.microsoft.com/download/b/8/a/b8a2fb98-0ec1-41e5-be98-9d8b5abf7856/${InstallerName}"
|
||||
$ArgumentList = ("/accepteula ","/quiet","/force")
|
||||
Install-Binary -Url $InstallerUrl -Name $InstallerName -ArgumentList $ArgumentList -ExpectedSignature (Get-ToolsetContent).serviceFabric.runtime.signature
|
||||
|
||||
# Install Service Fabric SDK
|
||||
$InstallerName = "MicrosoftServiceFabricSDK.${serviceFabricSDKVersion}.msi"
|
||||
$InstallerUrl = "https://download.microsoft.com/download/b/8/a/b8a2fb98-0ec1-41e5-be98-9d8b5abf7856/${InstallerName}"
|
||||
Install-Binary -Url $InstallerUrl -Name $InstallerName -ExpectedSignature (Get-ToolsetContent).serviceFabric.sdk.signature
|
||||
|
||||
Invoke-PesterTests -TestFile "Tools" -TestName "ServiceFabricSDK"
|
||||
Reference in New Issue
Block a user