Skip to content

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
  • Labs icon Lab
  • A Cloud Guru
Google Cloud Platform icon
Labs

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.

Google Cloud Platform icon
Labs

Path Info

Level
Clock icon Intermediate
Duration
Clock icon 45m
Published
Clock icon Sep 24, 2021

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.

Table of Contents

  1. Challenge

    Set up a GitHub Repository

    1. Fork the repo https://github.com/linuxacademy/content-github-actions-deep-dive-lesson.
    2. Check out the lab branch and confirm /github/workflows/deploy-pipeline.yaml contains lint and build 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.

  2. Challenge

    Create a Release

    1. Create a publish job.
    2. Add a step to create a release and commit the changes.
    3. Check the release in the GitHub console. It has the complete codebase, but not the build artifact with the dependencies.
  3. Challenge

    Add a Release Asset

    1. Set the publish job to run after the build job.
    2. 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.

The Cloud Content team comprises subject matter experts hyper focused on services offered by the leading cloud vendors (AWS, GCP, and Azure), as well as cloud-related technologies such as Linux and DevOps. The team is thrilled to share their knowledge to help you build modern tech solutions from the ground up, secure and optimize your environments, and so much more!

What's a lab?

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.

Provided environment for hands-on practice

We will provide the credentials and environment necessary for you to practice right within your browser.

Guided walkthrough

Follow along with the author’s guided walkthrough and build something new in your provided environment!

Did you know?

On average, you retain 75% more of your learning if you get time for practice.

Start learning by doing today

View Plans