mirror of
https://github.com/ditkrg/project-version-check.git
synced 2026-01-22 22:06:42 +00:00
revert back to my changes
Signed-off-by: Shakar <5h4k4r.b4kr@gmail.com>
This commit is contained in:
parent
95f8fd7d05
commit
74914ff987
0
action.yml → .github/actions/action.yml
vendored
0
action.yml → .github/actions/action.yml
vendored
19
.github/workflows/main.yaml
vendored
19
.github/workflows/main.yaml
vendored
@ -1,19 +1,20 @@
|
|||||||
|
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@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Hello world action step
|
- name: Hello world action step
|
||||||
uses: ./ # Uses an action in the root directory
|
uses: ./.github/actions/action
|
||||||
id: hello
|
id: hello
|
||||||
with:
|
with:
|
||||||
who-to-greet: "Mona the Octocat"
|
who-to-greet: "John"
|
||||||
# Use the output from the `hello` step
|
|
||||||
- name: Get the output time
|
- name: Print the greeting's output
|
||||||
run: echo "The time was ${{ steps.hello.outputs.time }}"
|
run: echo "The greeting was ${{ steps.hello.outputs.greeting }}"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user