Skip to content
This repository has been archived by the owner on Oct 13, 2023. It is now read-only.

Capture of stdout / stderr #205

Open
2 of 3 tasks
arlyon opened this issue Mar 4, 2022 · 0 comments · May be fixed by #206
Open
2 of 3 tasks

Capture of stdout / stderr #205

arlyon opened this issue Mar 4, 2022 · 0 comments · May be fixed by #206
Labels
enhancement New feature or request

Comments

@arlyon
Copy link

arlyon commented Mar 4, 2022

Do the checklist before filing an issue:

Motivation

It would be nice to be able to capture stdout / stderr on certain commands. My example: I have a workflow which runs a script using cargo make the output of which I'd like to capture and put in a comment on PRs. See here:

https://github.com/arlyon/async-stripe/blob/master/.github/workflows/openapi.yml#L27-L32

The missing part is that outputs.stdout is not actually populated with anything yet.

Workflow example

No proposed changes to the workflow definitions, just populate the stdout / stderr outputs for use in other actions.

Additional context

The run command allows you to do this just fine, but I'd like to use the dedicated action if possible, rather than manually calling cargo make verify.

@arlyon arlyon added the enhancement New feature or request label Mar 4, 2022
@arlyon arlyon linked a pull request Mar 4, 2022 that will close this issue
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Development

Successfully merging a pull request may close this issue.

1 participant