From f8896c4bdb403df6531f8666094716b4a49ca6d3 Mon Sep 17 00:00:00 2001 From: hubwriter Date: Tue, 9 Jul 2024 10:42:45 +0100 Subject: [PATCH] Actions: Remove the macos-11 runner label (no longer available) (#51560) --- .../section-choosing-the-runner-for-a-job.md | 10 +++--- .../actions/supported-github-runners.md | 32 +++++++++---------- 2 files changed, 20 insertions(+), 22 deletions(-) diff --git a/data/reusables/actions/jobs/section-choosing-the-runner-for-a-job.md b/data/reusables/actions/jobs/section-choosing-the-runner-for-a-job.md index ac4e1970862b..adb3306466f7 100644 --- a/data/reusables/actions/jobs/section-choosing-the-runner-for-a-job.md +++ b/data/reusables/actions/jobs/section-choosing-the-runner-for-a-job.md @@ -5,10 +5,10 @@ Use `jobs..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 windows-latest label currently uses the Windows 2022 runner ima -macos-latest, macos-14, macos-13, macos-12, macos-11 +macos-latest, macos-14, macos-13, macos-12 The macos-latest workflow label currently uses the macOS 14 runner image. diff --git a/data/reusables/actions/supported-github-runners.md b/data/reusables/actions/supported-github-runners.md index e994ab92240e..785dc9861f1a 100644 --- a/data/reusables/actions/supported-github-runners.md +++ b/data/reusables/actions/supported-github-runners.md @@ -1,6 +1,4 @@ - - -### 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 ubuntu-latest, ubuntu-24.04 [Beta], ubuntu-22.04, ubuntu-20.04 -The ubuntu-latest label currently uses the Ubuntu 22.04 runner image. +The ubuntu-latest label currently uses the Ubuntu 22.04 runner image. @@ -52,7 +50,7 @@ Windows windows-latest, windows-2022, windows-2019 -The windows-latest label currently uses the Windows 2022 runner image. +The windows-latest label currently uses the Windows 2022 runner image. @@ -69,10 +67,10 @@ macOS 14 GB -macos-12 or macos-11 +macos-12 -The macos-11 label has been deprecated and will no longer be available after 28 June 2024. +Uses the macOS 12 runner image. @@ -92,7 +90,7 @@ macOS macos-13 -N/A +Uses the macOS 13 runner image. @@ -112,15 +110,15 @@ macOS macos-latest or macos-14 -The macos-latest label currently uses the macOS 14 runner image. +The macos-latest label currently uses the macOS 14 runner image. -### 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)." @@ -150,7 +148,7 @@ Linux ubuntu-latest, ubuntu-24.04 [Beta], ubuntu-22.04, ubuntu-20.04 @@ -169,7 +167,7 @@ Windows windows-latest, windows-2022, windows-2019 @@ -186,10 +184,10 @@ macOS 14 GB @@ -209,7 +207,7 @@ macOS macos-13 @@ -229,7 +227,7 @@ macOS macos-latest or macos-14
-The ubuntu-latest label currently uses the Ubuntu 22.04 runner image. +The ubuntu-latest label currently uses the Ubuntu 22.04 runner image.
-The windows-latest label currently uses the Windows 2022 runner image. +The windows-latest label currently uses the Windows 2022 runner image.
-macos-12 or macos-11 +macos-12 -The macos-11 label has been deprecated and will no longer be available after 28 June 2024. +Uses the macOS 12 runner image.
-N/A +Uses the macOS 13 runner image.
-The macos-latestlabel currently uses the macOS 14 runner image. +The macos-latestlabel currently uses the macOS 14 runner image.