ci(proxy+windows): fix setting up WinRM [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/392
This commit is contained in:
parent
015a7edffa
commit
39cbc1b91b
12
.github/workflows/kitchen.windows.yml
vendored
12
.github/workflows/kitchen.windows.yml
vendored
@ -44,10 +44,8 @@ jobs:
|
|||||||
New-LocalUser $env:machine_user -Password $password
|
New-LocalUser $env:machine_user -Password $password
|
||||||
Add-LocalGroupMember -Group "Administrators" -Member $env:machine_user
|
Add-LocalGroupMember -Group "Administrators" -Member $env:machine_user
|
||||||
- name: 'Set up WinRM'
|
- name: 'Set up WinRM'
|
||||||
run: >
|
run: |
|
||||||
Set-WSManQuickConfig -Force;
|
Set-WSManQuickConfig -Force
|
||||||
Set-WSManInstance -ResourceURI winrm/config/service
|
|
||||||
-ValueSet @{AllowUnencrypted="true"}
|
|
||||||
- name: 'Run Bundler'
|
- name: 'Run Bundler'
|
||||||
run: |
|
run: |
|
||||||
ruby --version
|
ruby --version
|
||||||
@ -88,10 +86,8 @@ jobs:
|
|||||||
New-LocalUser $env:machine_user -Password $password
|
New-LocalUser $env:machine_user -Password $password
|
||||||
Add-LocalGroupMember -Group "Administrators" -Member $env:machine_user
|
Add-LocalGroupMember -Group "Administrators" -Member $env:machine_user
|
||||||
- name: 'Set up WinRM'
|
- name: 'Set up WinRM'
|
||||||
run: >
|
run: |
|
||||||
Set-WSManQuickConfig -Force;
|
Set-WSManQuickConfig -Force
|
||||||
Set-WSManInstance -ResourceURI winrm/config/service
|
|
||||||
-ValueSet @{AllowUnencrypted="true"}
|
|
||||||
- name: 'Run Bundler'
|
- name: 'Run Bundler'
|
||||||
run: |
|
run: |
|
||||||
ruby --version
|
ruby --version
|
||||||
|
Loading…
Reference in New Issue
Block a user