Skip to content

Commit 7535228

Browse files
authored
Update NuGetCD.yml
1 parent 5cd21bc commit 7535228

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/NuGetCD.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,14 @@ jobs:
9393
run: |
9494
Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Force -Scope CurrentUser
9595
$ProgressPreference = 'SilentlyContinue'
96+
$keyPath = "HKLM:\SOFTWARE\Microsoft\Service Fabric SDK"
97+
if (Test-Path $keyPath) {
98+
Remove-Item -Path $keyPath -Force
99+
Write-Output "Registry key removed: $keyPath"
100+
} else {
101+
Write-Output "Registry key not found: $keyPath"
102+
}
103+
96104
Invoke-RestMethod -OutFile setup.exe -Method GET -Uri https://download.microsoft.com/download/b/8/a/b8a2fb98-0ec1-41e5-be98-9d8b5abf7856/MicrosoftServiceFabric.11.0.2707.1.exe
97105
#.\setup.exe /accepteula /force /quiet
98106
Start-Process setup.exe -UseNewEnvironment -ArgumentList '/accepteula /force /quiet' -Wait

0 commit comments

Comments
 (0)