Adds main.yaml

Signed-off-by: Shakar <5h4k4r.b4kr@gmail.com>
This commit is contained in:
Shakar 2023-09-11 10:36:06 +03:00
parent 10fcf8a2cd
commit 5952ecf8a3
No known key found for this signature in database
GPG Key ID: DA55A26823AE3C28

20
.github/workflows/main.yaml vendored Normal file
View File

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