Get startedGet started for free

Working with environment variables

In this exercise, you are going to work with global and local environment variables. The workflow will run when opening a pull request against the main branch.

GitHub Actions empowers workflow customization through environment variables. Learning to set global and job-level environment variables for specific triggers boosts your understanding of workflow control and automation.

After completing this exercise, you will be adept at managing environment variables in GitHub Actions workflows. You will comprehend the significance of global and local variables, their scope, and their role in enhancing workflow behavior. This knowledge enables you to tailor workflows efficiently, optimize automation processes, and handle environment-specific configurations effectively.

This exercise is part of the course

CI/CD for Machine Learning

View Course

Hands-on interactive exercise

Turn theory into action with one of our interactive exercises

Start Exercise