Skip to content

catalystcommunity/action-javascript-action-template

Repository files navigation

GitHub Action:Hello World

Greet someone and record the time

- uses: catalystcommunity/action-javascript-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
time The time we greeted you

Example usage

on: [push]

jobs:
  hello_world_job:
    runs-on: ubuntu-latest
    name: A job to say hello
    steps:
      - name: Hello world action step
        id: hello
        uses: swarm-io/action-javascript-action-template@v1
        with:
          who-to-greet: "Mona the Octocat"
      # Use the output from the `hello` step
      - name: Get the output time
        run: echo "The time was ${{ steps.hello.outputs.time }}"

About

Template to build javascript actions off of

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors