Join Michael Jenkins for an in-depth discussion in this video Complete the entry-point script, part of Learning GitHub Actions (2019).
- [Instructor] At this point, … we've verified our script is working … and tested it with our Dockerfile, … using a sample JSON payload. … Let's take a look at the script … after it's been updated with code … that interacts with the GitHub API. … I'm viewing the entry point script in vim … and I have the line numbers turned on … to help with finding the details … I'll be discussing in the script. … On line 23, … I'm creating a version variable. … I'll use that to name and tag the release. … On line 25 through 29, … I'm using the version variable and print f statements … to format a JSON string. … And I'm storing that in a variable named data. … We'll be posting that data to a GitHub API … to create our release. … On line 31, … I use the GitHub repository environment variable … to build the URL that we'll be posting to … to access the API. … I also use the GitHub token environment variable … so our call to the API … can authenticate to our GitHub account. … Also, using these environment variables …
- 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.