From 15021abaf4d581cbe72fc44846e6abeb44146cc1 Mon Sep 17 00:00:00 2001 From: Shakar <5h4k4r.b4kr@gmail.com> Date: Mon, 11 Sep 2023 10:50:54 +0300 Subject: [PATCH] Update main.yaml Signed-off-by: Shakar <5h4k4r.b4kr@gmail.com> --- .github/workflows/main.yaml | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index a3859ca..e49f271 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -1,20 +1,19 @@ -name: Test Action - on: [push] jobs: - hello-world-job: + 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@v4 - + uses: actions/checkout@v3 - name: Hello world action step - uses: ./ + uses: ./ # Uses an action in the root directory id: hello with: - who-to-greet: "John" - - - name: Print the greeting's output - run: echo "The greeting was ${{ steps.hello.outputs.greeting }}" + 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 }}"