From 1c119cd58075c88793119ece6edfed7b02d46ef7 Mon Sep 17 00:00:00 2001 From: SethCohen Date: Tue, 23 Aug 2022 22:06:14 -0400 Subject: [PATCH] feat: added action --- .github/workflows/main.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..20feeb9 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,19 @@ +on: [push] + +jobs: + hello_world_job: + runs-on: ubuntu-latest + name: A job to say hello + steps: + # To use this repository's private action, + # you must check out the repository + - name: Checkout + uses: actions/checkout@v3 + - name: Hello world action step + uses: ./ # Uses an action in the root directory + id: hello + 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 }}" \ No newline at end of file