While developing an action, it makes sense to test it locally to simplify debugging. In this video, learn some techniques for testing a custom action on your local system.
- [Instructor] Now that we know more … about the resources available to our custom action, … let's finish our entrypoint script. … To help in our development, … I've created two more files, a make file, … and a json file with a sample push event. … Let's look at the make file. … At the top of the make file, I define a default … for the keyword I want to test with. … I'm using the word "fixed," so I'll be looking … for commit messages with the word "fixed" in them. … Following that are three build targets … that will help us while testing our script. … The run target builds the image before running it … with the default keyword. … The build target uses our Docker file … to compile the Docker image and tags it … with the name, keyword-release-action. … And finally, the test target runs the entrypoint script … with the test keyword. … I don't know about you, but I either forget these commands … or get tired of typing them, so I appreciate … having a make file to help while I'm developing. …
- Creating an action
- Creating a workflow
- Adding actions to a workflow
- Using an action from a repository
- Developing a CI/CD pipeline with GitHub Actions
- Building custom actions
- Publishing an action to the GitHub Marketplace
Skill Level Beginner
1. Your First Action
Your first Action2m 31s
2. Connecting Actions with Workflows
3. Using Actions
4. Developing a CI/CD Workflow
5. Building Custom Actions
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.