Describe the enhancement
There are a few Github Actions that require the command output, like docker/build-push-action, bjerkio/kopier and pulumi/action.
I've personally added this functionality twice so far, so I thought it might be something we should consider adding to @actions/exec directly?
Code Snippet
import { getCommandOutput } from '@actions/exec';
const output = await getCommandOutput('echo', ['hello', 'world']);
// output = "hello world"
Describe the enhancement
There are a few Github Actions that require the command output, like docker/build-push-action, bjerkio/kopier and pulumi/action.
I've personally added this functionality twice so far, so I thought it might be something we should consider adding to
@actions/execdirectly?Code Snippet