Skip to main content

Using jobs

Creating and managing GitHub Actions jobs.

Using jobs in a workflow

Use workflows to run multiple jobs.

Choosing the runner for a job

Define the type of machine that will process a job in your workflow.

Using conditions to control job execution

Prevent a job from running unless your conditions are met.

Using a matrix for your jobs

Create a matrix to define variations for each job.

Using concurrency

Run a single job at a time.

Using environments for jobs

Specify an environment for a job.

Running jobs in a container

Use a container to run the steps in a job.

Setting default values for jobs

Define the default settings that will apply to all jobs in the workflow, or all steps in a job.

Assigning permissions to jobs

Modify the default permissions granted to GITHUB_TOKEN.

Defining outputs for jobs

Create a map of outputs for your jobs.