From 5952ecf8a3d770c2ca1c12282fe93c18d5bfccb0 Mon Sep 17 00:00:00 2001 From: Shakar <5h4k4r.b4kr@gmail.com> Date: Mon, 11 Sep 2023 10:36:06 +0300 Subject: [PATCH] Adds main.yaml Signed-off-by: Shakar <5h4k4r.b4kr@gmail.com> --- .github/workflows/main.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/main.yaml diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml new file mode 100644 index 0000000..d7e188e --- /dev/null +++ b/.github/workflows/main.yaml @@ -0,0 +1,20 @@ +name: Test Action + +on: [push] + +jobs: + hello-world-job: + runs-on: ubuntu-latest + name: A job to say hello + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: Hello world action step + uses: ./github/actions/action.yaml + id: hello + with: + who-to-greet: "John" + + - name: Print the greeting's output + run: echo "The greeting was ${{ steps.hello.outputs.greeting }}"