Skip to content

Windows-CRD

Windows-CRD #19

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: Windows-CRD
on:
workflow_dispatch:
inputs:
authcode:
description: 'Enter CRD code'
required: true
pincode:
description: 'Six digit Pin'
required: true
jobs:
build:
runs-on: windows-latest
steps:
- name: Check out repository
uses: actions/checkout@v2
- name: Initializing Setup
run: ./setup.ps1
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