Use 2022 as default VC_YEAR for windows builds (#147053)

New Windows AMI does not have Visual Studio 2019. Hence use 2022 as default.
See: https://github.com/pytorch/test-infra/pull/6226
Pull Request resolved: https://github.com/pytorch/pytorch/pull/147053
Approved by: https://github.com/huydhn
This commit is contained in:
Andrey Talman 2025-02-13 14:37:55 +00:00 committed by PyTorch MergeBot
parent f95bdf5e6c
commit 858bc0cea5

View File

@ -23,7 +23,7 @@ on:
vc-year:
required: false
type: string
default: "2019"
default: "2022"
description: The Visual Studio year to use for building.
build-with-debug:
required: false