You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ Write your own GitHub JavaScript Action and automate customized tasks unique to
25
25
-**Who is this for**: Developers, GitHub users, users new to Git, students, managers, and for teams.
26
26
-**What you'll learn**: How to consume actions within a workflow file, create custom JavaScript based actions and publish your newly created action to the marketplace.
27
27
-**Prerequisites**: Before you start, you should be familiar with GitHub, GitHub Actions, and Continuous Integration with GitHub Actions.
28
-
-**How long**: This course is 6 steps long and takes about TBD hours to be completed.
28
+
-**How long**: This course is 6 steps long and takes about 1 to 2 hours to be completed.
29
29
30
30
## Projects used
31
31
@@ -79,7 +79,7 @@ _In our case, we will use this one **workflow** file for many things, which lead
79
79
80
80
Read more about [workflows](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/configuring-a-workflow#choosing-the-type-of-actions-for-your-workflow)
81
81
82
-
<detailsid=1>
82
+
<detailsid=1open>
83
83
84
84
<summary><strong> Step 1: Initialize a new JavaScript project</strong></summary>
85
85
@@ -101,7 +101,7 @@ Most of your work going forward will take place away from your Skills repository
101
101
2.[ ][Visual Studio Code](https://code.visualstudio.com/) or your editor of choice
102
102
3.[ ][Git](https://git-scm.com/)
103
103
104
-
### :keyboard:Activity 1: Initialize a new JavaScript project
104
+
### Activity 1: Initialize a new JavaScript project
105
105
106
106
Once you have the necessary tools installed locally, follow these steps to begin creating your first action.
107
107
@@ -130,7 +130,7 @@ Once you have the necessary tools installed locally, follow these steps to begin
130
130
```shell
131
131
npm init -y
132
132
```
133
-
8. Install the **request**, **request-promise** and **@actions/core** dependencies using `npm` from the [GitHub ToolKit (https://github.com/actions/toolkit):
133
+
8. Install the **request**, **request-promise** and **@actions/core** dependencies using `npm` from the [GitHub ToolKit] (https://github.com/actions/toolkit):
@@ -154,7 +154,7 @@ Once you have the necessary tools installed locally, follow these steps to begin
154
154
155
155
Now that we have the custom action pre-requisites, let us create **joke-action** action.
156
156
157
-
### :keyboard: Activity 1: Configure Your Action
157
+
### Activity 1: Configure Your Action
158
158
159
159
All of the following steps take place inside of the `.github/actions/joke-action` directory.
160
160
@@ -208,7 +208,7 @@ This file defines the following information about your action:
208
208
209
209
Read more about [Action metadata](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/metadata-syntax-for-github-actions)
210
210
211
-
### :keyboard: Activity 1: Create the metadata file
211
+
### Activity 1: Create the metadata file
212
212
213
213
All of the following steps take place inside of the `.github/actions/joke-action` directory.
214
214
@@ -349,7 +349,7 @@ _Don't forget to call the `run()` function._
349
349
350
350
</details>
351
351
352
-
### :keyboard: Activity 1: Creating the JavaScript files for your new action.
352
+
### Activity 1: Creating the JavaScript files for your new action.
353
353
354
354
1. Create and add the following contents to the `.github/actions/joke-action/joke.js` file:
355
355
@@ -408,7 +408,7 @@ _Don't forget to call the `run()` function._
408
408
409
409
All of the following steps will add the action to the workflow file that’s already in the repo [`my-workflow.yml` file](/.github/workflows/my-workflow.yml)
410
410
411
-
### :keyboard: Activity 1: Edit the custom action at the bottom of the workflow file.
411
+
### Activity 1: Edit the custom action at the bottom of the workflow file.
Get help: [Post in our community forum](https://github.community/c/education/github-learning-lab/34) • [Review the GitHub status page](https://www.githubstatus.com/)
487
+
Get help: [Post in our discussion board](https://github.com/skills/.github/discussions) • [Review the GitHub status page](https://www.githubstatus.com/)
0 commit comments