Run a shell command and expose its output
Required Command to run.
The output of the command written to stdout.
The output of the command written to stderr.
steps:
- name: Run a command
uses: lasalefamine/gha-command@v1
id: custom_command
with:
run: ./some-script.sh # or everything else
- run: echo Output - ${{ steps.custom_command.outputs.stdout }}