* Add check mode option
* Fixes boolean inputs
Boolean inputs weren't working properly before. Passing any value would
result in `true`, which is unexpected and not according to inputs
description. This change retrieves booleans with `getBooleanInput()` and
sets a default to `false`.
Relevant GitHub discussion and comment: https://github.com/actions/toolkit/issues/361#issuecomment-829507270
* Update action.yml
* Update test.yml
* Update test.yml
---------
Co-authored-by: Dawid Dziurla <dawidd0811@gmail.com>
* Capture output of stdout and stderr to Actions
* Remove type descriptors
Whoops! This isn't typescript
* Remove semicolons
* Rename cmd to args
* Separate command from arguments to exec
* Revert "Rename cmd to args"
This reverts commit 98591e5513.
* Append stdout and stderr to string, then log
* Consolidate stdout and stderr into single output
* Move base command back to cmd variable
* Embed execOptions as parameter to exec
By default it seems that SSH host key checking has been disabled. This
patch makes it optional. If a variable named known_hosts is passed in,
the key checking will be enabled. The variable should contain the
complete contents of the known_hosts file, which must contain the public
key(s) of the host(s) in the inventory.