mirror of
https://github.com/ditkrg/project-version-check.git
synced 2026-01-22 22:06:42 +00:00
Adds main.yaml
Signed-off-by: Shakar <5h4k4r.b4kr@gmail.com>
This commit is contained in:
parent
10fcf8a2cd
commit
5952ecf8a3
20
.github/workflows/main.yaml
vendored
Normal file
20
.github/workflows/main.yaml
vendored
Normal 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 }}"
|
||||||
Loading…
Reference in New Issue
Block a user