1
0
mirror of synced 2026-01-08 21:02:10 -05:00

Update section-choosing-the-runner-for-a-job.md (#27493)

This commit is contained in:
Steven Lariscy
2023-08-17 04:18:43 -04:00
committed by GitHub
parent 4ce10b908b
commit 9bc1671fb9

View File

@@ -8,6 +8,7 @@ Use `jobs.<job_id>.runs-on` to define the type of machine to run the job on.
- a single string
- a single variable containing a string
- an array of strings, variables containing strings, or a combination of both
- a `key: value` pair using the `group` or `label` keys
- If you specify an array of strings or variables, your workflow will execute on any runner that matches all of the specified `runs-on` values. For example, here the job will only run on a self-hosted runner that has the labels `linux`, `x64`, and `gpu`:
```yaml