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