From the course: Learning GitHub Actions
Unlock the full course today
Join today to access over 24,200 courses taught by industry experts.
Use runtime environment resources - GitHub Tutorial
From the course: Learning GitHub Actions
Use runtime environment resources
- [Instructor] When a workflow is triggered, a virtual runtime environment is created to provide the workflow with a variety of resources. This includes compute resources, a local file system, environment variables, and event payloads. The compute resources available to actions in a workflow include a virtual CPU and memory up to 3.75 gigabytes. Actions are also provided with remote network connectivity. This is useful for connecting to external resources like APIs or Apache's repositories. The runtime environment also includes a local file system that allows the action to read and write files locally. This local file system offers space up to 100 gigabytes and includes paths to a home directory and a workspace for storing files while the action is running. The runtime environment also includes several environment variables that actions can reference for useful information. For example, there are variables for the location of…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
(Locked)
Plan a custom action4m 28s
-
(Locked)
Your custom action objective1m 7s
-
(Locked)
Dockerfile review4m 58s
-
(Locked)
Add a Dockerfile2m 20s
-
(Locked)
Add an entry-point script2m 30s
-
(Locked)
Use runtime environment resources4m 11s
-
(Locked)
Test an action locally3m 52s
-
(Locked)
Complete the entry-point script2m 2s
-
(Locked)
Add a metadata file2m 48s
-
(Locked)
Add a README file1m 48s
-
(Locked)
Deploy a custom action2m 22s
-
(Locked)
Publish an action to the Marketplace4m 16s
-
(Locked)
Challenge: Create a custom action1m
-
(Locked)
Solution: Create a custom action7m 47s
-
(Locked)
-