Skip to content

lmbbox/gha-bash-wrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Github Actions Bash Wrapper

Bash wrapper to capture the stdout and stderr output as stdouterr

Usage

jobs:
  run:
    runs-on: ubuntu-latest
    defaults:
      run:
        shell: gha-bash-wrapper {0}
    steps:
    - name: Setup Github Actions Bash Wrapper
      uses: lmbbox/gha-bash-wrapper@v1
    - name: Run command
      id: cmd
      run: echo "Capture my output"
    - name: Create comment
      uses: peter-evans/create-or-update-comment@v4
      with:
        issue-number: ${{ github.event.pull_request.number }}
        body: ${{ steps.cmd.outputs.stdouterr }}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages