Skip to content

Instantly share code, notes, and snippets.

@stuff
Created October 24, 2019 14:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stuff/b075549051537b8c64a5ff20cb358cfd to your computer and use it in GitHub Desktop.
Save stuff/b075549051537b8c64a5ff20cb358cfd to your computer and use it in GitHub Desktop.
name: Greet Everyone
# This workflow is triggered on pushes to the repository.
on: [push]
jobs:
build:
# Job name is Greeting
name: Greeting
# This job runs on Linux
runs-on: ubuntu-latest
steps:
# This step uses GitHub's hello-world-javascript-action: https://github.com/actions/hello-world-javascript-action
- name: Hello world
uses: actions/hello-world-javascript-action@v1
with:
who-to-greet: 'Mona the Octocat'
id: hello
# This step prints an output (time) from the previous step's action.
- name: Echo the greeting's time
run: echo 'The time was ${{ steps.hello.outputs.time }}.'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment