From the course: Learning GitHub Actions
Unlock the full course today
Join today to access over 24,200 courses taught by industry experts.
Challenge: Develop a workflow that creates an artifact - GitHub Tutorial
From the course: Learning GitHub Actions
Challenge: Develop a workflow that creates an artifact
(upbeat playful music) - [Instructor] Let's pause for another challenge. In this challenge you'll use a workflow to create an artifact. Start this challenge by creating a workflow file in a new repository. The workflow should be triggered by a push to the repo. At the beginning of your workflow, create an environment variable for the name of the artifact. You'll use this as an argument for actions in the workflow. Continue the workflow by creating one job with two steps. The first step should use the checkout action to check out all of the code in the repository. The second step should use the upload artifact action to create an artifact with the name defined by the environment variable. This challenge should take about 15 minutes to complete. Once you've completed the challenge, join me in the next video to review the solution.
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)
Use an action from the Marketplace4m 6s
-
(Locked)
Use an action from a repository2m 25s
-
(Locked)
Passing arguments to an action4m 6s
-
(Locked)
Using environment variables5m 10s
-
(Locked)
Using secrets4m 1s
-
(Locked)
Using artifacts4m 7s
-
(Locked)
Manage pull requests3m 30s
-
(Locked)
Challenge: Develop a workflow that creates an artifact57s
-
(Locked)
Solution: Develop a workflow that creates an artifact8m 6s
-
(Locked)
-
-
-