mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
21 lines
508 B
YAML
21 lines
508 B
YAML
name: Debug via SSH
|
|
description: Setup a SSH server with a tunnel to access it to debug via SSH.
|
|
inputs:
|
|
tunnel:
|
|
description: 'Enable SSH tunneling via cloudflared'
|
|
required: true
|
|
default: 'false'
|
|
timeout:
|
|
description: 'SSH session timeout in minutes'
|
|
required: false
|
|
type: number
|
|
default: 60
|
|
runs:
|
|
using: composite
|
|
steps:
|
|
- run: $GITHUB_ACTION_PATH/setup-ssh.sh
|
|
shell: bash
|
|
env:
|
|
TUNNEL: ${{ inputs.tunnel }}
|
|
TIMEOUT: ${{ inputs.timeout }}
|