Skip to content

catalystcommunity/action-composite-action-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Action:Hello World

Greet someone

- uses: catalystcommunity/action-composite-action-template@undefined
  with:
    # Who to greet
    # Default: World
    who-to-greet: ""
Input Description Default Required
who-to-greet Who to greet World true
Output Description Default Required
random-number Random number

Example usage

on: [push]

jobs:
  hello_world_job:
    runs-on: ubuntu-latest
    name: A job to say hello
    steps:
      - uses: actions/checkout@v2
      - id: foo
        uses: actions/hello-world-composite-action@v1
        with:
          who-to-greet: "Mona the Octocat"
      - run: echo random-number ${{ steps.foo.outputs.random-number }}
        shell: bash