Merge pull request #152 from joecare99/Examples #321
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }}.' |