runs-on

The workflow key that says which kind of runner a job needs, by image label or by self-hosted labels.

In more detail

It can be a single label, a list of labels that must all match, or an expression such as matrix.os so that a matrix picks the machine. Each job has its own runs-on and therefore its own machine.

Example

runs-on: ubuntu-24.04

Related terms

Taught in

References

Certification courses