-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Description
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
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:
Tool name | Windows-2019 | Windows-2022 | Notes |
---|---|---|---|
Go lang | 1.15.* | 1.16.* | Go lang version bumped to the more recent one |
Python | 3.7.* | 3.9.* | Python version bumped to the more recent one |
Ruby | 2.5.* | 3.0.* | Ruby version bumped to the more recent one |
Google Cloud SDK | latest | - | The software was removed due to maintenance concerns, consider using the official action https://github.com/google-github-actions/setup-gcloud |
Innosetup | latest | - | The software was removed due to its low popularity and maintenance concerns |
Parcel | latest | - | The software was removed due to its low popularity and maintenance concerns |
Cloud Foundry CLI | latest | - | The software was removed due to its low popularity and maintenance concerns |
Java | 8(default) 11 13 17 |
8(default) 11 17 |
Due to our software guidelines we left only LTS versions on the image. If you need to use other versions of Java, consider using setup-java and Java tool installer tasks |
Python toolcache | 2.7 3.5 3.6 3.7 3.8 3.9 3.10 |
3.7 3.8 3.9 3.10 |
EOL python versions were removed |
PyPy toolcache | 2.7 3.6 3.7 3.8 |
2.7 3.7 3.8 |
Version 3.6 was deprecated as it won't receive any updates |
Ruby toolcache | 2.4 2.5(default) 2.6 2.7 3.0 |
2.7 3.0(default) |
Left only two recent versions |
MySQL | 5.7.* | 8.0.* | The version was updated to the latest major one |
.NET | 2.1 3.1 5.0 |
3.1 5.0 |
Version 2.1 is EOL and was removed |
Windows Driver Kit | 10.0.* | - | VS2022 is not yet supported by the WDK |
Az powershell module | 1.0.0.zip 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 |
6.5 | Left only the most recent 6.* release |
Android SDK build-tools and platforms | 19 - 32 | 27 - 32 | Android Platforms and build tools < 27.0 were removed from image. Consider installation in runtime using sdkmanager |
Virtual environments affected
- Ubuntu 18.04
- Ubuntu 20.04
- macOS 10.15
- macOS 11
- Windows Server 2016
- Windows Server 2019
- Windows Server 2022
Mitigation ways
If you see any issues with your workflows during this transition period:
- File an issue in this repository
- Switch back to windows-2019 by specifying the
windows-2019
label in your workflow. We will continue to support Windows Server 2019 image.