Add self-hosted option to action (#52)

+ This skips over the SSH configuration part of the action.
+ This is because self-hosted runners would typically have SSH already running causing ssh-agent command to throw an error (process already exists/port in use)
This commit is contained in:
Thomas Ali 2023-01-10 13:47:26 +00:00 committed by GitHub
commit d12c16f961
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 13 additions and 0 deletions

View file

@ -8,6 +8,11 @@ inputs:
required: true
description: The command.
self-hosted:
required: false
default: 'false'
description: Whether the action is running on a self-hosted runner.
private-key:
required: false
default: ''