Updating the action to have a choice for how user is looked up on linux

This commit is contained in:
Stanislaw Wozniak 2022-06-28 00:49:19 +01:00
parent 53715f806b
commit 815a336fc0
8 changed files with 133 additions and 69 deletions

View file

@ -1,16 +1,21 @@
name: 'webfactory/ssh-agent'
description: 'Run `ssh-agent` and load an SSH key to access other private repositories'
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'
description: "Private SSH key to register in the SSH agent"
required: true
ssh-auth-sock:
description: 'Where to place the SSH Agent auth socket'
description: "Where to place the SSH Agent auth socket"
required: false
linux-use-homedir:
description: Changes the way user home directory is looked up.
required: false
default: "false"
runs:
using: 'node12'
main: 'dist/index.js'
post: 'dist/cleanup.js'
post-if: 'always()'
using: "node12"
main: "dist/index.js"
post: "dist/cleanup.js"
post-if: "always()"
branding:
icon: loader
color: 'yellow'
color: "yellow"