Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/dawidd6/action-command-output
- Owner: dawidd6
- License: mit
- Created: 2025-01-08T12:53:53.000Z (9 days ago)
- Default Branch: master
- Last Pushed: 2025-01-08T14:16:27.000Z (9 days ago)
- Last Synced: 2025-01-08T14:43:57.734Z (9 days ago)
- Topics: action, actions, capture, command, github, github-action, output
- Language: Shell
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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 }}'
```