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]
|
||||
|
||||
jobs:
|
||||
hello_world_job:
|
||||
hello-world-job:
|
||||
runs-on: ubuntu-latest
|
||||
name: A job to say hello
|
||||
steps:
|
||||
# To use this repository's private action,
|
||||
# you must check out the repository
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Hello world action step
|
||||
uses: ./ # Uses an action in the root directory
|
||||
uses: ./.github/actions/action
|
||||
id: hello
|
||||
with:
|
||||
who-to-greet: "Mona the Octocat"
|
||||
# Use the output from the `hello` step
|
||||
- name: Get the output time
|
||||
run: echo "The time was ${{ steps.hello.outputs.time }}"
|
||||
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