Skip to content
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

ubuntu-latest has ruined my dotnet workflow setup by jumping to 24.x #11432

Open
3 of 16 tasks
eventsourcer opened this issue Jan 20, 2025 · 1 comment
Open
3 of 16 tasks

Comments

@eventsourcer
Copy link

Description

Looks like Actions runner recently bumped to ubuntu 24.x when specified with runs-on: ubuntu-latest.

My dotnet workflow setup was working fine using ubuntu-latest shipped with a list of pre-installed dotnet sdks including my requested globaljson.

But now the new ubuntu version i.e. 24.x not only isn't resolving dotnet sdk but doesn't even recognize sqlcmd command.

After troubleshooting this required me to fix the ubuntu tag to 22.4 as shown on my workflow.

jobs
  .
  .
  .
  test:
    if: ${{ success() }}
    needs: build
    runs-on: ubuntu-22.04

Platforms affected

  • Azure DevOps
  • GitHub Actions - Standard Runners
  • GitHub Actions - Larger Runners

Runner images affected

  • Ubuntu 20.04
  • Ubuntu 22.04
  • Ubuntu 24.04
  • macOS 12
  • macOS 13
  • macOS 13 Arm64
  • macOS 14
  • macOS 14 Arm64
  • macOS 15
  • macOS 15 Arm64
  • Windows Server 2019
  • Windows Server 2022
  • Windows Server 2025

Image version and build link

Sample failed workflow:
https://github.com/eventstorage/eventstorage/actions/runs/12857436891/job/35845293717

Is it regression?

ubuntu-22.4 works fine: https://github.com/eventstorage/eventstorage/actions/runs/12869120817

Expected behavior

Workflow was expected to continue running on ubuntu 24.4 and latest dotnet sdk versions pre-installed.

Actual behavior

If not manually installing requested globaljson sdk version, pre-installed sdk version on 24.4 isn't able to run my code.
and 24.4 doesn't recognize sqlcmd command.

Repro steps

Switching between ubuntu 22.4 and 24.4 back and forth identifies the root cause.
Typically by running dotnet --list-sdks on each to list -pre-installed sdk versions.

@eventsourcer eventsourcer changed the title ubuntu-latest has ruined my dotnet workflow setup by running to 24.x ubuntu-latest has ruined my dotnet workflow setup by jumping to 24.x Jan 20, 2025
@kishorekumar-anchala
Copy link
Contributor

kishorekumar-anchala commented Jan 21, 2025

Hi @eventsourcer - we're looking into it, we'll update once our investigation completes. thank you !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants