|
| 1 | +# Great job! |
| 2 | + |
| 3 | +You did it 🎉 |
| 4 | + |
| 5 | +You have successfully written three different JavaScript Actions. |
| 6 | + |
| 7 | +Let's take a quick look at all the things you learned in this course: |
| 8 | + |
| 9 | +**Workflows** |
| 10 | +Along the way you learned a little about workflows and how to configure them. You managed to accomplish all these things: |
| 11 | + |
| 12 | +- Define two different event triggers |
| 13 | +- Filter an event trigger to run only when a label is added to a pull request |
| 14 | +- You configured one unique job containing three unique steps within a workflow |
| 15 | +- You learned how to overwrite default Action values by defining them in a workflow |
| 16 | +- One of your steps consumed a secret |
| 17 | +- One of your steps consumed the output of a previous step |
| 18 | + |
| 19 | +That's quite a bit for a course that doesn't cover workflows! |
| 20 | + |
| 21 | +**Action metadata** |
| 22 | + |
| 23 | +- You became familiar with over 1/2 of the syntax keywords that can be used in an `action.yml` file |
| 24 | +- Using `inputs:` and `outputs:` allowed you to create more dynamic and reusable metadata files for your Actions. |
| 25 | +- You've mow written the metadata for three different Actions |
| 26 | + |
| 27 | +**JavaScript Actions** |
| 28 | +Wow, what a series of tasks! You started with the traditional `hello world` in the console, which was then expanded to use the `input:` parameters specified in the Actions metadata. Through the use of that metadata you were able to be flexible with your greeting. |
| 29 | + |
| 30 | +You learned how GitHub Actions behave when consuming external APIs and you also used the response from an external API as an `output:` parameter for a later step in the workflow. |
| 31 | + |
| 32 | +Lastly you saw how to use Actions to interact with a repository by creating an issue containing a joke. |
| 33 | + |
| 34 | +You used multiple packages in your Action source code, you consumed `inputs:` and set `outputs:`. |
| 35 | + |
| 36 | +You learned how to use the `@actions/core` package to write errors and terminate a misbehaving Action. |
| 37 | + |
| 38 | +At this point you are armed with everything you need to know to go out there and begin creating your own custom JavaScript Actions. |
| 39 | + |
| 40 | +### We aren't done yet 😉 |
| 41 | + |
| 42 | +Throughout this course I have promised to show you how to get rid of the `node_modules` folder in your repository. |
| 43 | + |
| 44 | +I also want to take a few minutes to point you to the information you need to place your own custom Actions on the [GitHub Marketplace](https://github.com/marketplace?type=actions) for others to use. |
0 commit comments