Skip to content

Commit 1e14d68

Browse files
docs: Add notes about runs-on syntax (#29641)
Co-authored-by: Laura Coursen <[email protected]>
1 parent 31bf09e commit 1e14d68

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

data/reusables/actions/jobs/section-choosing-the-runner-for-a-job.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,12 @@ Use `jobs.<job_id>.runs-on` to define the type of machine to run the job on.
4242
4343
- If you would like to run your workflow on multiple machines, use [`jobs.<job_id>.strategy`](/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstrategy).
4444

45+
{% note %}
46+
47+
**Note:** Quotation marks are not required around simple strings like `self-hosted`, but they are required for expressions like {% raw %} `"${{ inputs.chosen-os }}"`{% endraw %}.
48+
49+
{% endnote %}
50+
4551
{% ifversion fpt or ghec or ghes %}
4652
{% data reusables.actions.enterprise-github-hosted-runners %}
4753

0 commit comments

Comments
 (0)