Skip to content

Commit

Permalink
Update Windows-CRD.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
xmt3061123 authored Jun 21, 2024
1 parent 228b2b3 commit ed44bd4
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions .github/workflows/Windows-CRD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,26 @@ on:
pincode:
description: 'Six digit Pin'
required: true

jobs:
build:
runs-on: windows-latest

steps:
- uses: actions/checkout@v2
- name: Check out repository
uses: actions/checkout@v2

- name: Initializing Setup
run: ./setup.ps1
- name: Starting CRD
run: ${{ github.event.inputs.authcode }} -pin=${{ github.event.inputs.pincode }}
shell: pwsh

- name: Starting CRD
run: |
$authCode = '${{ github.event.inputs.authcode }}'
$pinCode = '${{ github.event.inputs.pincode }}'
Start-Process -FilePath "chrome-remote-desktop.exe" -ArgumentList "--start --code=$authCode --pin=$pinCode" -Wait
shell: pwsh

- name: Keep Alive
run: ./timeout.ps1



shell: pwsh

0 comments on commit ed44bd4

Please sign in to comment.