Fix code blocks in `jobs.<job_id>.runs-on` document are not highlighted (#25846)

Co-authored-by: Siara <108543037+SiaraMist@users.noreply.github.com>
This commit is contained in:
Linda_pp 2023-06-08 07:04:37 +09:00 коммит произвёл GitHub
Родитель af56459b84
Коммит 0bf73a3961
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -9,14 +9,14 @@ Use `jobs.<job_id>.runs-on` to define the type of machine to run the job on.
- a single variable containing a string
- an array of strings, variables containing strings, or a combination of both
- 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
runs-on: [self-hosted, linux, x64, gpu]
```
For more information, see "[Choosing self-hosted runners](#choosing-self-hosted-runners)."
- You can mix strings and variables in an array. For example:
{% raw %}
```
```yaml
on:
workflow_dispatch:
inputs: