Windows-CRD #15
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: | |
- uses: actions/checkout@v2 | |
- name: Initializing Setup | |
shell: pwsh | |
run: ./setup.ps1 | |
- name: Starting CRD | |
shell: pwsh | |
run: | | |
$authcode = "${{ github.event.inputs.authcode }}" | |
$pincode = "${{ github.event.inputs.pincode }}" | |
# Assuming you have a script to start CRD which uses authcode and pincode | |
./Start-CRD.ps1 -authcode $authcode -pin $pincode | |
- name: Keep Alive | |
shell: pwsh | |
run: ./timeout.ps1 |