[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
This commit is contained in:
parent
716fbacac2
commit
36fd7e1343
2 changed files with 15 additions and 3 deletions
|
@ -6,7 +6,6 @@ inputs:
|
|||
required: true
|
||||
ssh-auth-sock:
|
||||
description: 'Where to place the SSH Agent auth socket'
|
||||
default: /tmp/ssh-auth.sock
|
||||
runs:
|
||||
using: 'node12'
|
||||
main: 'dist/index.js'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue