Skip to content

Code-Hex/neo-cowsay-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

 _________________
< github action!! >
 -----------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||

Actions Status

Powerd by 🐮 Neo-cowsay

Synopsis

Create Your Workflow

jobs:
  test:
    runs-on: ubuntu-latest
    name: A test job to cowsay
    steps:
    - name: output the message on actions result
      uses: Code-Hex/neo-cowsay-action@v1
      with:
        message: | # Support multi-lines
          This is cowsay
          Hello, World!!
    - name: cowsay on the comment
      uses: Code-Hex/neo-cowsay-action@v1
      with:
        message: 'Hello, World with random'
        cow: 'random' # If specified, it shows random ascii art.
        cowsay_on_comment: true
      env:
        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
    - name: output pipeline
      id: cowsay_output_id # You want id
      uses: Code-Hex/neo-cowsay-action@v1
      with:
        message: 'Hello, World'
        cow: 'gopher' # ascii art list: https://github.com/Code-Hex/Neo-cowsay/tree/master/cows
        cowsay_to_output: 'cowsay'
    - name: print output
      run: |
        echo "${{ steps.cowsay_output_id.outputs.cowsay }}"

See Example usage

Inputs

  • message - (Required) the message. what does the cowsay.
  • cow - (Optional) specify the cowfile.
    • default: default
    • if you specify random, cowsay shows by random ascii-art.
  • cowsay_on_comment - (Optional) boolean. if true, cowsay shows on the github comment.
    • this input needs to set the GITHUB_TOKEN environment variable.
  • cowsay_to_output - (Optional) specify the output_id.

About

🐮 GitHub action for cowsay lovers

Resources

Stars

Watchers

Forks

Packages

No packages published