[CI]Update windows runner to windows-2022 (#154368)

As per info in : actions/runner-images#12045
We need to change window runner.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/154368
Approved by: https://github.com/cyyever, https://github.com/atalman
This commit is contained in:
Abhishek Kumar
2025-06-07 01:39:19 +00:00
committed by PyTorch MergeBot
parent 83d22256f8
commit be2e43264d

View File

@ -19,14 +19,15 @@ concurrency:
jobs:
build-windows-magma:
if: github.repository_owner == 'pytorch'
runs-on: windows-2019
runs-on: windows-2022
strategy:
matrix:
cuda_version: ["128", "126", "118"]
cuda_version: ["128", "126"]
config: ["Release", "Debug"]
env:
CUDA_VERSION: ${{ matrix.cuda_version }}
CONFIG: ${{ matrix.config }}
VC_YEAR: "2022"
steps:
- name: Checkout pytorch/pytorch
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2