ssh-agent/action.yml
Thorben Nissen 36fd7e1343 [BUGFIX] Not working properly on self-hosted runner
* remove fixed default auth socket path
* call `ssh-agent` with auth socket path, if not explicitly given,
  to let the system choose the path
* read SSH_AUTH_SOCKET and SSH_AGENT_PID from `ssh-agent` command output
  and add the as variables
2020-04-10 20:02:05 +02:00

14 lines
419 B
YAML

name: 'webfactory/ssh-agent'
description: 'Run `ssh-agent` and load an SSH key to access other private repositories'
inputs:
ssh-private-key:
description: 'Private SSH key to register in the SSH agent'
required: true
ssh-auth-sock:
description: 'Where to place the SSH Agent auth socket'
runs:
using: 'node12'
main: 'dist/index.js'
branding:
icon: loader
color: 'yellow'