Coder Social home page Coder Social logo

neo-cowsay-action's Introduction

 _________________
< 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.

neo-cowsay-action's People

Contributors

code-hex avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.