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.
- [Narrator] Now that we know more … about the resources that are available to our custom action, … let's finish our entrypoint script. … To help in our development, I've created two more files. … A makefile and a JSON file, with a sample push event. … Let's look at the makefile. … At the top of the 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 makefile to help while I'm developing. … Now let's look at the sample data. …
- Creating an action
- Creating a workflow
- Adding actions to a workflow
- Using an action from a repository
- Using environment variables
- Building custom actions
- Use cases for actions and workflows
Skill Level Beginner
1. Your first Action
2. Connecting Actions with Workflows
3. Using Actions
4. Building Custom Actions
5. Use Cases
- 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.