Capture output of stdout and stderr to Actions (#30)

* 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
This commit is contained in:
Brooks Swinnerton authored and GitHub committed 2021-07-31 18:13:50 +02:00
1 parent fbcc2c2bae
commit 00e2fc8809
2 files changed
+15 -1

No files matched your search

+3
View File
@@ -31,6 +31,9 @@ inputs:
sudo:
description: Set to "true" if root is required for running your playbook
required: false
outputs:
output:
description: The captured output of both stdout and stderr from the Ansible Playbook run
runs:
using: node12
main: main.js