- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Cloud

Creating a Release with GitHub Actions
Your team has set up an automated build process for your application code. You want to store this artifact so other teams can access it for downstream work. You will need to build out the workflow file to leverage GitHub Packages to store new versions of your code with each new build.

Lab Info
Table of Contents
-
Challenge
Set up a GitHub Repository
- Fork the repo
https://github.com/linuxacademy/content-github-actions-deep-dive-lesson
. - Check out the
lab
branch and confirm/github/workflows/deploy-pipeline.yaml
containslint
andbuild
jobs.Note: You can clone the repo locally or work in the GitHub browser.
If you have trouble, the complete code for one possible solution is on the
lab-package-solution
.
- Fork the repo
-
Challenge
Create a Release
- Create a
publish
job. - Add a step to create a release and commit the changes.
- Check the release in the GitHub console. It has the complete codebase, but not the build artifact with the dependencies.
- Create a
-
Challenge
Add a Release Asset
- Set the
publish
job to run after thebuild
job. - Add a step to the
publish
job to upload the build artifact as a part of the release and commit the changes.Note: The new release will contain a zipped bundle with all the libraries.
- Set the
About the author
Real skill practice before real-world application
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Learn by doing
Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.
Follow your guide
All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.
Turn time into mastery
On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.