Skip to content
This repository was archived by the owner on Jun 16, 2024. It is now read-only.

Commit 9265032

Browse files
committed
feat: adding example action
1 parent dc1ad01 commit 9265032

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/main.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
on: [push]
2+
3+
jobs:
4+
hello_world_job:
5+
runs-on: ubuntu-latest
6+
name: A job to say hello
7+
steps:
8+
# To use this repository's private action, you must check out the repository
9+
- name: Checkout
10+
uses: actions/checkout@v1
11+
- name: Hello world action step
12+
uses: ./ # Uses an action in the root directory
13+
id: hello
14+
with:
15+
who-to-greet: "Mona the Octocat"
16+
# Use the output from the `hello` step
17+
- name: Get the output time
18+
run: echo "The time was ${{ steps.hello.outputs.time }}"

0 commit comments

Comments
 (0)