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 }}"