Browse Source

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

* Automated using https://github.com/myii/ssf-formula/pull/392
tags/v1.10.0
Dafydd Jones 2 years ago
parent
commit
39cbc1b91b
No account linked to committer's email address
1 changed files with 4 additions and 8 deletions
  1. +4
    -8
      .github/workflows/kitchen.windows.yml

+ 4
- 8
.github/workflows/kitchen.windows.yml View File

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: >
Set-WSManQuickConfig -Force;
Set-WSManInstance -ResourceURI winrm/config/service
-ValueSet @{AllowUnencrypted="true"}
run: |
Set-WSManQuickConfig -Force
- name: 'Run Bundler' - name: 'Run Bundler'
run: | run: |
ruby --version ruby --version
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: >
Set-WSManQuickConfig -Force;
Set-WSManInstance -ResourceURI winrm/config/service
-ValueSet @{AllowUnencrypted="true"}
run: |
Set-WSManQuickConfig -Force
- name: 'Run Bundler' - name: 'Run Bundler'
run: | run: |
ruby --version ruby --version

Loading…
Cancel
Save