From ac27585dd4aeb02cd5e11d8b96314a28226f8b69 Mon Sep 17 00:00:00 2001 From: Ashesh Vidyut <134911583+absolutelightning@users.noreply.github.com> Date: Wed, 6 Sep 2023 15:23:09 +0530 Subject: [PATCH] Fix windows Ent runner (#18683) * fix windows image for enterprise * added quotesT --- .github/scripts/get_runner_classes_windows.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/scripts/get_runner_classes_windows.sh b/.github/scripts/get_runner_classes_windows.sh index a29ea5debf..a64c3a8c28 100755 --- a/.github/scripts/get_runner_classes_windows.sh +++ b/.github/scripts/get_runner_classes_windows.sh @@ -10,11 +10,11 @@ set -euo pipefail case "$GITHUB_REPOSITORY" in *-enterprise) # shellcheck disable=SC2129 - echo "compute-small=['self-hosted', 'windows', 'small']" >>"$GITHUB_OUTPUT" - echo "compute-medium=['self-hosted', 'windows', 'medium']" >>"$GITHUB_OUTPUT" - echo "compute-large=['self-hosted', 'windows', 'large']" >>"$GITHUB_OUTPUT" + echo "compute-small=['self-hosted', 'ondemand', 'os=windows-2019']" >>"$GITHUB_OUTPUT" + echo "compute-medium=['self-hosted', 'ondemand', 'os=windows-2019']" >>"$GITHUB_OUTPUT" + echo "compute-large=['self-hosted', 'ondemand', 'os=windows-2019']" >>"$GITHUB_OUTPUT" # m5d.8xlarge is equivalent to our xl custom runner in CE - echo "compute-xl=['self-hosted', 'ondemand', 'windows', 'type=m6a.2xlarge']" >>"$GITHUB_OUTPUT" + echo "compute-xl=['self-hosted', 'ondemand', 'os=windows-2019']" >>"$GITHUB_OUTPUT" ;; *) # shellcheck disable=SC2129