Learn how environment variables can be used to create workflows that accept parameters by injecting values into an action at runtime.
- Sometimes actions need additional information … provided to them at runtime. … This can be accomplished with environment variables. … Environment variables are dynamic key value pairs … stored in memory … on the virtual environment running our workflow. … Commands and actions running as steps … can access environment variables … to use the information stored there. … These values are read as the process runs. … In other words, they aren't already stored … in the virtual environment. … Instead, the values are injected … when the environment starts to run … and before any commands are called. … Environment variables are case sensitive … so when they're referenced in a workflow or step, … the reference needs to match the variable … exactly as its defined. … Github sets default environment variables … that are available to every step in a workflow. … These default variables start with GITHUT in all caps … with the exception of the home environment variable. … These defaults are helpful when actions need to know …
- 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.