diff --git a/.github/workflows/golang-test-windows.yml b/.github/workflows/golang-test-windows.yml index 6748a2ef1..9d814fba8 100644 --- a/.github/workflows/golang-test-windows.yml +++ b/.github/workflows/golang-test-windows.yml @@ -55,8 +55,8 @@ jobs: run: | $ConfigPath = "$PSHOME\powershell.config.json" $ConfigJSON = ConvertTo-Json -InputObject @{ - "Microsoft.PowerShell:ExecutionPolicy": "RemoteSigned", - "WindowsPowerShellCompatibilityModuleDenyList": [ + "Microsoft.PowerShell:ExecutionPolicy" = "RemoteSigned", + "WindowsPowerShellCompatibilityModuleDenyList" = [ "BestPractices", "UpdateServices" ]