Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dawidd6/action-command-output

:gear: A GitHub Action to run a provided command and capture it's output for later use
https://github.com/dawidd6/action-command-output

action actions capture command github github-action output

Last synced: 4 days ago
JSON representation

:gear: A GitHub Action to run a provided command and capture it's output for later use

Awesome Lists containing this project

README

        

# Command output

An action that runs the provided command and captures its output for later use in other steps.

## Usage

```yaml
- name: Capture command output
id: command
uses: dawidd6/action-command-output@v1
with:
command: nix build nixpkgs#hello

- name: Print command output
run: echo output='${{ steps.command.outputs.output }}'
```