ci(proxy+windows): fix setting up WinRM [skip ci]

* Automated using https://github.com/myii/ssf-formula/pull/392
This commit is contained in:
Dafydd Jones 2021-12-21 23:16:43 +00:00 committed by Imran Iqbal
parent 015a7edffa
commit 39cbc1b91b
No known key found for this signature in database
GPG Key ID: 6D8629439D2B7819
1 changed files with 4 additions and 8 deletions

View File

@ -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