From 607770f7d4ec8918474024b40ee14c9fcd58fd89 Mon Sep 17 00:00:00 2001 From: Athanasius Date: Sun, 26 Jul 2020 20:23:02 +0100 Subject: [PATCH] Add greet-example to github workflows --- .github/workflows/greet-everyone.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/greet-everyone.yml diff --git a/.github/workflows/greet-everyone.yml b/.github/workflows/greet-everyone.yml new file mode 100644 index 00000000..8eb21f91 --- /dev/null +++ b/.github/workflows/greet-everyone.yml @@ -0,0 +1,21 @@ +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 }}.' +