mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-30 21:38:26 +08:00
Revert "Removed Set-ExecutionPolicy RemoteSigned from Install-ServiceFabricSDK.ps1"
This reverts commit 70c2ad2317.
This commit is contained in:
@@ -238,7 +238,8 @@
|
||||
"type": "powershell",
|
||||
"scripts":[
|
||||
"{{ template_dir }}/scripts/Installers/Install-ServiceFabricSDK.ps1"
|
||||
]
|
||||
],
|
||||
"execution_policy": "remotesigned"
|
||||
},
|
||||
{
|
||||
"type": "windows-restart",
|
||||
|
||||
@@ -219,7 +219,8 @@
|
||||
"type": "powershell",
|
||||
"scripts":[
|
||||
"{{ template_dir }}/scripts/Installers/Install-ServiceFabricSDK.ps1"
|
||||
]
|
||||
],
|
||||
"execution_policy": "remotesigned"
|
||||
},
|
||||
{
|
||||
"type": "windows-restart",
|
||||
|
||||
@@ -8,4 +8,6 @@
|
||||
$temp_install_dir = 'C:\Windows\Installer'
|
||||
New-Item -Path $temp_install_dir -ItemType Directory -Force
|
||||
|
||||
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser -Force
|
||||
|
||||
WebpiCmd.exe /Install /Products:MicrosoftAzure-ServiceFabric-CoreSDK /AcceptEula /XML:https://webpifeed.blob.core.windows.net/webpifeed/5.1/WebProductList.xml
|
||||
|
||||
Reference in New Issue
Block a user