From 8b8de88dc337a7b54f734a1178be2983a071a8ba Mon Sep 17 00:00:00 2001 From: Martin Lopes Date: Mon, 18 Oct 2021 16:53:13 +1000 Subject: [PATCH] Update workflow-syntax-for-github-actions.md (#22155) --- .../workflow-syntax-for-github-actions.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/content/actions/learn-github-actions/workflow-syntax-for-github-actions.md b/content/actions/learn-github-actions/workflow-syntax-for-github-actions.md index 3b5e27b2ae..b842d9de12 100644 --- a/content/actions/learn-github-actions/workflow-syntax-for-github-actions.md +++ b/content/actions/learn-github-actions/workflow-syntax-for-github-actions.md @@ -373,10 +373,12 @@ If you need to find the unique identifier of a job running in a workflow run, yo ## `jobs.` -Each job must have an id to associate with the job. The key `job_id` is a string and its value is a map of the job's configuration data. You must replace `` with a string that is unique to the `jobs` object. The `` must start with a letter or `_` and contain only alphanumeric characters, `-`, or `_`. +Create an identifier for your job by giving it a unique name. The key `job_id` is a string and its value is a map of the job's configuration data. You must replace `` with a string that is unique to the `jobs` object. The `` must start with a letter or `_` and contain only alphanumeric characters, `-`, or `_`. ### Example +In this example, two jobs have been created, and their `job_id` values are `my_first_job` and `my_second_job`. + ```yaml jobs: my_first_job: