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

Commit f37c833

Browse files
Update 05_create-metadata.md
This response
1 parent 07fd78b commit f37c833

File tree

1 file changed

+9
-13
lines changed

1 file changed

+9
-13
lines changed

responses/05_create-metadata.md

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,7 @@ Now that we know what action metadata is, let's create the metadata for our curr
88

99
We will start with using the parameters that are **required** and later implement some optional parameters as our action evolves.
1010

11-
1. Create a file named `action.yml`
12-
2. Use the `name` parameter to name your action `"my hello action"`
13-
3. Next, add a `description` parameter and give it a value of `"say hello with GitHub Actions"`
14-
4. Lastly, define the `run` parameter to use `"node12"` to execute the `"main.js"`
15-
16-
<details><summary>View the complete file</summary>
17-
11+
1. Create and add the following contents to the `.github/actions/hello-world/action.yml` file:
1812
```yaml
1913
name: "my hello action"
2014

@@ -24,12 +18,14 @@ We will start with using the parameters that are **required** and later implemen
2418
using: "node12"
2519
main: "main.js"
2620
```
27-
28-
</details>
29-
30-
5. Save the `action.yml` file
31-
6. Commit the changes:
21+
2. Save the `action.yml` file
22+
3. Commit the changes:
3223
`git add action.yml`
3324
`git commit -m 'create action.yml'`
34-
7. Push them to the `hello-world` branch:
25+
4. Push them to the `hello-world` branch:
3526
`git push`
27+
28+
---
29+
30+
I'll respond here once I notice that you've pushed your changes.
31+

0 commit comments

Comments
 (0)