-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Ubuntu image 24.04 .NET version #11967
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
Comments
Hi @tibitoth , Thank you for bringing this issue to our attention. We will look into this issue and will update you after investigating. |
This also broke our source generator
This requires SDK |
Please fix this....dozens of pipelines broke overnight. |
Also, there was a new .NET SDK release yesterday: dotnet/announcements#353 |
You can use the following workarounds until it get fixed:
|
Hi @tibitoth, FYI, Ubuntu 22 and Ubuntu 24 are different images, and the .NET versions will be updated from different release sources— |
I would say it's reasonable to assume a newer OS image should have a newer version of .NET (or at least not downgrade it). Also, according to Ubuntu's own package search, jammy uses 8.0.115 (https://packages.ubuntu.com/jammy/dotnet-sdk-8.0). So Microsoft must be doing something custom to replace it with a newer version in the 22.04 image. Shouldn't the same fix be done in the 24.04 image then? |
Hi @Sharparam, @tibitoth GitHub runners don't depend exclusively on the.NET SDK versions available through the OS. Instead, it focus on having the newest SDKs in order to assist developers with new features or the latest patches. To accomplish this, runners get the latest official SDK versions directly from Microsoft, instead of waiting for Ubuntu's packaging cycle.Please refer to the relevant issue and document for more details. we are closing this issue. Thanks! |
A sad conclusion as that means adding up to several minutes to the build time of our projects (for the manual SDK install step) just to get an actually up to date version of the SDK :/ |
Description
ubuntu 24.04 image contains .NET SDK 8.0.114, see: https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2404-Readme.md
while ubuntu 22.04 image contains the newer .NET SDK 8.0.407, see: https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2204-Readme.md
Platforms affected
Runner images affected
Image version and build link
Is it regression?
22.04
Expected behavior
24.04 should contain .NET SDK 8.0.407
Actual behavior
24.04 now contains .NET SDK 8.0.114
Repro steps
build .NET app with global.json which requires 8.0.4xx SDK
The text was updated successfully, but these errors were encountered: