-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
windows-latest workflows will use Windows Server 2022 #4856
Comments
Are there any known actions that we can use to install innosetup? |
Nah, I don't think that's possible from actions. |
@tt2468 innosetup can be installed relatively fast in runtime. Please feel free to ask for help if needed |
Why this was not done on the day of formally releasing visual studio 2022? I always assumed Microsoft would follow the literal definition of 'latest' - silly me. |
@neman 6.0 is bundled in VS2022, so it's available on the image but not installed via part of .NET installation script |
I'm seeing this warning
In all of my Windows pipelines, but none of my pipelines use |
Same for me! mairaw mentioned the issue I opend. I think that the name "windows-latest" is totally misleading. Something like "..-stable" would fit much better to the reality. |
Sorry for the inconvenience, this is a known issue and will be fixed next week. |
|
Ok, good point, do you have a better idea? With "-latest" I expect the "latest bits and bytes". Not that several month after the release of the actual .NET 6 it's not included. :( |
the label |
FWIW I agree When you take into consideration that .NET 6 was not available on the There was a similar thing with Azure Functions last year with a many month lag between .NET 5 and support for it in functions. They worked to ensure that .NET 6 was supported on day 1 when that came out in Nov. Maybe there's a lesson to be learned there? @mikeKuester |
To ensure builds don't break avoid using windows-latest Ref: actions/runner-images#4856
To ensure builds don't break avoid using windows-latest Refs: actions/runner-images#4856
It takes time to work out all the quirks of new software when it's released to not break environment. Switching over to
The correct way is to use |
Totally understand it takes time to ensure everything works it was more an observation of the fact that
That's a fair point, on the flip side would it not make sense to have no .NET versions available on the image by default so that it's not possible for people to do it wrong? This would force people down the happy path when creating pipelines. Keep up the good work 🍾 |
Still might be good to add to the table. It confused me too. |
Some versions of software that can be installed through
use |
Naming is hard for sure 🤣 |
@jozefizso the message has been disabled. |
…instead of windows-latest which now run on windows-2022 actions/runner-images#4856 Fixes windows build
… Studio 17 2022 (apache#14368) ### Motivation As github windows runner latest upgrade to [2022](actions/runner-images#4856), the `ci-cpp-build-windows.yaml` workflow should be changed otherwise the action would be failed such as [this one](https://github.com/apache/pulsar/actions/runs/1860147632) ### Modifications - Upgrade os version to 2022 - Change generator to `Visual Studio 17 2022`
Notification for this changed at: actions/runner-images#4856
Notification for this changed at: actions/runner-images#4856
* Default image has moved to windows-2022 which has VS2022 installed by default instead of VS2019. We have not yet tested builds with VS2022, so go back to windows-2019 for now. See actions/runner-images#4856.
* Default image has moved to windows-2022 which has VS2022 installed by default instead of VS2019. We have not yet tested builds with VS2022, so go back to windows-2019 for now. See actions/runner-images#4856.
It seems that windows-latest is still pointing to windows-2019 instead of windows-2022. When I run my pipeline in Azure DevOps with the vmImage set to windows-latest, I see that the pool is set to windows-2019. When I change to windows-2022, the pool is set to windows-2022. According to the docs, windows-latest should be windows-2022. I'm also confused as to why the docs say that for classic pipelines, the default is windows-2019. Shouldn't it be windows-latest? |
@donatellijl, Could you check?
|
I added "name: Azure Pipelines" and now instead of my first screenshot, I see windows-latest as the Image. Why is having the name a requirement? |
Avoid all these depreciations: - actions/runner-images#5583 - actions/runner-images#6002 - Windows hasn't been announced yet but was moved to latest recently: actions/runner-images#4856
Avoid all these depreciations: - actions/runner-images#5583 - actions/runner-images#6002 - Windows hasn't been announced yet but was moved to latest recently: actions/runner-images#4856
Hello everyone, I hope you all are well. |
Complete list of software is available at the image definitions: https://github.com/actions/runner-images/blob/main/images/win/Windows2022-Readme.md (for |
Visual Studio is updated in windows-latest image actions/runner-images#4856
Breaking changes
Windows Server 2022 is ready to be the default version for the "windows-latest" label in GitHub Actions and Azure DevOps.
Target date
This change will be rolled out over a period of several weeks beginning on January, 17. We plan to complete the migration by March, 6.
The motivation for the changes
Starting from November 2021 Windows Server 2022 with Visual Studio 2022 image is generally available for all customers. We have monitored customer feedback to improve the Windows Server 2022 image stability and now we are ready to set it as the latest.
Possible impact
⚠️ CodeQL does not currently support analysis of compiled languages on Windows Server 2022 ⚠️ Support for Windows Server 2022 has been added.The Windows Server 2022 image has a different set of software than Windows Server 2019. The most significant changes are listed in the table below:
11
13
17
11
17
3.5
3.6
3.7
3.8
3.9
3.10
3.8
3.9
3.10
3.6
3.7
3.8
3.7
3.8
2.5(default)
2.6
2.7
3.0
3.0(default)
3.1
5.0
5.0
1.6.0.zip
2.3.2.zip
2.6.0.zip
3.1.0.zip
3.5.0.zip
3.8.0.zip
4.3.0.zip
4.4.0.zip
4.7.0.zip
5.5.0.zip
5.9.0.zip
6.5.0
Virtual environments affected
Mitigation ways
If you see any issues with your workflows during this transition period:
windows-2019
label in your workflow. We will continue to support Windows Server 2019 image.The text was updated successfully, but these errors were encountered: