Skip to content
This repository was archived by the owner on Sep 1, 2022. It is now read-only.

Commit 55628ee

Browse files
Update 10_create-metadata.md
1 parent bb02dba commit 55628ee

File tree

1 file changed

+4
-14
lines changed

1 file changed

+4
-14
lines changed

responses/10_create-metadata.md

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,7 @@ Our action does not require much metadata for it to run correctly. We will not b
66

77
We will not use the `joke-output` in in this portion of the course. There will be a later step that will rely on this actions output.
88

9-
1. Create the action metadata file `.github/actions/joke-action/action.yml`
10-
2. Use the `name` parameter to name your action `"external API action"`
11-
3. Next, add a `description` parameter and give it a value of `"use an external API to retrieve and display a joke"`
12-
4. Create an `outputs:` with an id of `joke-output:` and add a `description:` so we know what the output is for
13-
5. Lastly, define the `runs:` parameter to use `"node12"` and set the `main:` parameter to `"main.js"`
14-
15-
<details><summary>View the complete file</summary>
16-
9+
1. Create the action metadata file `.github/actions/joke-action/action.yml` with the following content:
1710
```yaml
1811
name: "external API action"
1912

@@ -27,11 +20,8 @@ We will not use the `joke-output` in in this portion of the course. There will b
2720
using: "node12"
2821
main: "main.js"
2922
```
30-
31-
</details>
32-
33-
6. Save the `action.yml` file
34-
7. Commit the changes and push them to GitHub:
23+
2. Save the `action.yml` file
24+
3. Commit the changes and push them to GitHub:
3525
```shell
3626
git add action.yml
3727
git commit -m 'add metadata for the joke action'
@@ -40,4 +30,4 @@ We will not use the `joke-output` in in this portion of the course. There will b
4030

4131
---
4232

43-
I'll respond when you push to this branch.
33+
I'll respond when you push to this branch.

0 commit comments

Comments
 (0)