@@ -5,10 +5,10 @@ Use `jobs.<job_id>.runs-on` to define the type of machine to run the job on.
|
||||
{% ifversion target-runner-groups %}- You can target runners based on the labels assigned to them, or their group membership, or a combination of these.{% else %}
|
||||
* You can target runners based on the labels assigned to them.{% endif %}
|
||||
* You can provide `runs-on` as:
|
||||
* 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 `labels` keys
|
||||
* 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 `labels` 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
|
||||
@@ -82,7 +82,7 @@ The <code>windows-latest</code> label currently uses the Windows 2022 runner ima
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<code>macos-latest</code>, <code>macos-14</code>, <code>macos-13</code>, <code>macos-12</code>, <code>macos-11</code>
|
||||
<code>macos-latest</code>, <code>macos-14</code>, <code>macos-13</code>, <code>macos-12</code>
|
||||
</td>
|
||||
<td>
|
||||
The <code>macos-latest</code> workflow label currently uses the macOS 14 runner image.
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
<!-- If you update this table, you should also update the table in /data/reusables/actions/jobs/choosing-runner-github-hosted.md -->
|
||||
|
||||
### Standard {% data variables.product.prodname_dotcom %}-hosted runners for Public repositories
|
||||
### Standard {% data variables.product.prodname_dotcom %}-hosted runners for public repositories
|
||||
|
||||
For public repositories, jobs using the workflow labels shown in the table below will run on virtual machines with the associated specifications. The use of these runners on public repositories is free and unlimited.
|
||||
|
||||
@@ -33,7 +31,7 @@ Linux
|
||||
<code>ubuntu-latest</code>, <code>ubuntu-24.04</code> [Beta], <code>ubuntu-22.04</code>, <code>ubuntu-20.04</code>
|
||||
</td>
|
||||
<td>
|
||||
The <code>ubuntu-latest</code> label currently uses the Ubuntu 22.04 runner image.
|
||||
The <code>ubuntu-latest</code> label currently uses the <a href="https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2204-Readme.md">Ubuntu 22.04 runner image</a>.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -52,7 +50,7 @@ Windows
|
||||
<code>windows-latest</code>, <code>windows-2022</code>, <code>windows-2019</code>
|
||||
</td>
|
||||
<td>
|
||||
The <code>windows-latest</code> label currently uses the Windows 2022 runner image.
|
||||
The <code>windows-latest</code> label currently uses the <a href="https://github.com/actions/runner-images/blob/main/images/windows/Windows2022-Readme.md">Windows 2022 runner image</a>.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -69,10 +67,10 @@ macOS
|
||||
14 GB
|
||||
</td>
|
||||
<td>
|
||||
<code>macos-12</code> or <code>macos-11</code>
|
||||
<code>macos-12</code>
|
||||
</td>
|
||||
<td>
|
||||
The <code>macos-11</code> label has been deprecated and will no longer be available after 28 June 2024.
|
||||
Uses the <a href="https://github.com/actions/runner-images/blob/main/images/macos/macos-12-Readme.md">macOS 12 runner image</a>.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -92,7 +90,7 @@ macOS
|
||||
<code>macos-13</code>
|
||||
</td>
|
||||
<td>
|
||||
N/A
|
||||
Uses the <a href="https://github.com/actions/runner-images/blob/main/images/macos/macos-13-Readme.md">macOS 13 runner image</a>.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -112,15 +110,15 @@ macOS
|
||||
<code>macos-latest</code> or <code>macos-14</code>
|
||||
</td>
|
||||
<td>
|
||||
The <code>macos-latest</code> label currently uses the macOS 14 runner image.
|
||||
The <code>macos-latest</code> label currently uses the <a href="https://github.com/actions/runner-images/blob/main/images/macos/macos-14-Readme.md">macOS 14 runner image</a>.
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
### Standard {% data variables.product.prodname_dotcom %}-hosted runners for Private repositories
|
||||
### Standard {% data variables.product.prodname_dotcom %}-hosted runners for {% ifversion ghec %}internal and{% endif %} private repositories
|
||||
|
||||
For private repositories, jobs using the workflow labels shown in the table below will run on virtual machines with the associated specifications. These runners use your {% data variables.product.prodname_dotcom %} account's allotment of free minutes, and are then charged at the per minute rates. For more information, see "[AUTOTITLE](/billing/managing-billing-for-github-actions/about-billing-for-github-actions#per-minute-rates)."
|
||||
For {% ifversion ghec %}internal and{% endif %} private repositories, jobs using the workflow labels shown in the table below will run on virtual machines with the associated specifications. These runners use your {% data variables.product.prodname_dotcom %} account's allotment of free minutes, and are then charged at the per minute rates. For more information, see "[AUTOTITLE](/billing/managing-billing-for-github-actions/about-billing-for-github-actions#per-minute-rates)."
|
||||
|
||||
<table style="width:100%">
|
||||
<thead>
|
||||
@@ -150,7 +148,7 @@ Linux
|
||||
<code>ubuntu-latest</code>, <code>ubuntu-24.04</code> [Beta], <code>ubuntu-22.04</code>, <code>ubuntu-20.04</code>
|
||||
</td>
|
||||
<td>
|
||||
The <code>ubuntu-latest</code> label currently uses the Ubuntu 22.04 runner image.
|
||||
The <code>ubuntu-latest</code> label currently uses the <a href="https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2204-Readme.md">Ubuntu 22.04 runner image</a>.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -169,7 +167,7 @@ Windows
|
||||
<code>windows-latest</code>, <code>windows-2022</code>, <code>windows-2019</code>
|
||||
</td>
|
||||
<td>
|
||||
The <code>windows-latest</code> label currently uses the Windows 2022 runner image.
|
||||
The <code>windows-latest</code> label currently uses the <a href="https://github.com/actions/runner-images/blob/main/images/windows/Windows2022-Readme.md">Windows 2022 runner image</a>.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -186,10 +184,10 @@ macOS
|
||||
14 GB
|
||||
</td>
|
||||
<td>
|
||||
<code>macos-12</code> or <code>macos-11</code>
|
||||
<code>macos-12</code>
|
||||
</td>
|
||||
<td>
|
||||
The <code>macos-11</code> label has been deprecated and will no longer be available after 28 June 2024.
|
||||
Uses the <a href="https://github.com/actions/runner-images/blob/main/images/macos/macos-12-Readme.md">macOS 12 runner image</a>.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -209,7 +207,7 @@ macOS
|
||||
<code>macos-13</code>
|
||||
</td>
|
||||
<td>
|
||||
N/A
|
||||
Uses the <a href="https://github.com/actions/runner-images/blob/main/images/macos/macos-13-Readme.md">macOS 13 runner image</a>.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -229,7 +227,7 @@ macOS
|
||||
<code>macos-latest</code> or <code>macos-14</code>
|
||||
</td>
|
||||
<td>
|
||||
The <code>macos-latest</code>label currently uses the macOS 14 runner image.
|
||||
The <code>macos-latest</code>label currently uses the <a href="https://github.com/actions/runner-images/blob/main/images/macos/macos-14-Readme.md">macOS 14 runner image</a>.
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
||||
Reference in New Issue
Block a user