mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
* build: use dynamic local tunnels for ssh debugging * weeee * that'll do * chore: pretty output * build: allow ssh input --------- Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com>
21 lines
510 B
YAML
21 lines
510 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 seconds'
|
|
required: false
|
|
type: number
|
|
default: 3600
|
|
runs:
|
|
using: composite
|
|
steps:
|
|
- run: $GITHUB_ACTION_PATH/setup-ssh.sh
|
|
shell: bash
|
|
env:
|
|
TUNNEL: ${{ inputs.tunnel }}
|
|
TIMEOUT: ${{ inputs.timeout }}
|