Skip to content

Commit e305525

Browse files
committed
Let's try this
1 parent fb7cbe7 commit e305525

File tree

2 files changed

+10
-23
lines changed

2 files changed

+10
-23
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010

1111
steps:
12-
# To use this repository's private action,
13-
# you must check out the repository
14-
- name: Checkout
15-
uses: actions/checkout@v5
16-
17-
- name: Hello world action step
12+
- name: Test something
1813
uses: ./ # Uses an action in the root directory
19-
id: hello
2014
with:
2115
who-to-greet: Mona the Octocat
22-
23-
# Use the output from the `hello` step
24-
- name: Get the output time
25-
run: echo "The time was ${{ steps.hello.outputs.time }}"

action.yml

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,13 @@
1-
name: Hello World
2-
description: Greet someone and record the time
3-
1+
name: 'Hello World'
2+
description: 'Greet someone'
43
inputs:
5-
who-to-greet: # id of input
6-
description: Who to greet
4+
who-to-greet:
5+
description: 'Who to greet'
76
required: true
8-
default: World
9-
10-
outputs:
11-
time: # id of output
12-
description: The time we greeted you
7+
default: 'World'
138

149
runs:
15-
using: node20
16-
main: dist/index.js
10+
using: "composite"
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v5

0 commit comments

Comments
 (0)