mirror of
https://github.com/ditkrg/project-version-check.git
synced 2026-01-23 06:16:41 +00:00
Update main.yaml
Signed-off-by: Shakar <5h4k4r.b4kr@gmail.com>
This commit is contained in:
parent
eabe1dc87e
commit
15021abaf4
19
.github/workflows/main.yaml
vendored
19
.github/workflows/main.yaml
vendored
@ -1,20 +1,19 @@
|
|||||||
name: Test Action
|
|
||||||
|
|
||||||
on: [push]
|
on: [push]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
hello-world-job:
|
hello_world_job:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
name: A job to say hello
|
name: A job to say hello
|
||||||
steps:
|
steps:
|
||||||
|
# To use this repository's private action,
|
||||||
|
# you must check out the repository
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Hello world action step
|
- name: Hello world action step
|
||||||
uses: ./
|
uses: ./ # Uses an action in the root directory
|
||||||
id: hello
|
id: hello
|
||||||
with:
|
with:
|
||||||
who-to-greet: "John"
|
who-to-greet: "Mona the Octocat"
|
||||||
|
# Use the output from the `hello` step
|
||||||
- name: Print the greeting's output
|
- name: Get the output time
|
||||||
run: echo "The greeting was ${{ steps.hello.outputs.greeting }}"
|
run: echo "The time was ${{ steps.hello.outputs.time }}"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user