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

Action doesn't complete installation of dotnet on macos #608

Open
2 of 5 tasks
Yury-Fridlyand opened this issue Mar 5, 2025 · 2 comments
Open
2 of 5 tasks

Action doesn't complete installation of dotnet on macos #608

Yury-Fridlyand opened this issue Mar 5, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@Yury-Fridlyand
Copy link

Description:
Installation on macos isn't completed as it happens on linux runner.
In order to keep CI jobs working properly, we have to do extra steps just to ensure that proper version of SDK is used. That increases complexity and maintenance costs.

Task version:
v4

Platform:

  • Ubuntu
  • macOS
  • Windows

Runner type:

  • Hosted
  • Self-hosted

Repro steps:

jobs:
    experiment:
        runs-on: macos-14
        steps:
            - name: check
              run: |
                  dotnet --info || true
                  which dotnet || true
            - name: Set up dotnet
              uses: actions/setup-dotnet@v4
              with:
                  dotnet-version: '6.0'
            - name: check
              run: |
                  dotnet --info || true
                  which dotnet || true

Expected behavior:
On macos runner, Base path remains unchanged and refers to incorrect sdk version

 Base Path:   /Users/runner/.dotnet/sdk/9.0.102/

Actual behavior:
On linux runner, Base path changes after running the action from

 Base Path:   /usr/lib/dotnet/sdk/8.0.112/

to

 Base Path:   /usr/share/dotnet/sdk/6.0.428/
@Yury-Fridlyand Yury-Fridlyand added bug Something isn't working needs triage labels Mar 5, 2025
@priya-kinthali
Copy link

Hello @Yury-Fridlyand👋,
Thank you for reporting this issue. We will investigate it and get back to you as soon as we have some feedback.

@Yury-Fridlyand
Copy link
Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants