From a148b3066870ca27190a3b921dd89cc2ddfdfc2f Mon Sep 17 00:00:00 2001 From: Iain Sproat <68657+iainsproat@users.noreply.github.com> Date: Mon, 20 Mar 2023 16:06:58 +0000 Subject: [PATCH] Use example action --- .github/workflows/main.yml | 19 +++++++++++++++++++ action.yaml => action.yml | 0 2 files changed, 19 insertions(+) create mode 100644 .github/workflows/main.yml rename action.yaml => action.yml (100%) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..a86c28f --- /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 }}" diff --git a/action.yaml b/action.yml similarity index 100% rename from action.yaml rename to action.yml