From 39cbc1b91bfe5c46664ca2a74233b62f99ac3850 Mon Sep 17 00:00:00 2001 From: Dafydd Jones Date: Tue, 21 Dec 2021 23:16:43 +0000 Subject: [PATCH] ci(proxy+windows): fix setting up WinRM [skip ci] * Automated using https://github.com/myii/ssf-formula/pull/392 --- .github/workflows/kitchen.windows.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/kitchen.windows.yml b/.github/workflows/kitchen.windows.yml index 0690622..7675d61 100644 --- a/.github/workflows/kitchen.windows.yml +++ b/.github/workflows/kitchen.windows.yml @@ -44,10 +44,8 @@ jobs: New-LocalUser $env:machine_user -Password $password Add-LocalGroupMember -Group "Administrators" -Member $env:machine_user - name: 'Set up WinRM' - run: > - Set-WSManQuickConfig -Force; - Set-WSManInstance -ResourceURI winrm/config/service - -ValueSet @{AllowUnencrypted="true"} + run: | + Set-WSManQuickConfig -Force - name: 'Run Bundler' run: | ruby --version @@ -88,10 +86,8 @@ jobs: New-LocalUser $env:machine_user -Password $password Add-LocalGroupMember -Group "Administrators" -Member $env:machine_user - name: 'Set up WinRM' - run: > - Set-WSManQuickConfig -Force; - Set-WSManInstance -ResourceURI winrm/config/service - -ValueSet @{AllowUnencrypted="true"} + run: | + Set-WSManQuickConfig -Force - name: 'Run Bundler' run: | ruby --version