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

Setup-dotnet Tasks fails for multiple workflows from the URL Change #588

Open
2 of 5 tasks
vinaysandela opened this issue Jan 16, 2025 · 1 comment
Open
2 of 5 tasks
Assignees
Labels
bug Something isn't working

Comments

@vinaysandela
Copy link

vinaysandela commented Jan 16, 2025

Description:
Setup-dotnet Tasks fails for multiple workflows #3186928

Task version:
Specify the task version

Platform:

  • Ubuntu
  • macOS
  • Windows

Runner type:

  • Hosted
  • Self-hosted

Repro steps:
Setup-dotnet Tasks fails for multiple workflows from the URL Change
Error:
Task in the workflow -

  • name: Set up .NET Core
    uses: actions/setup-dotnet@v4
    with:
    dotnet-version: 8.0.x

Error:
Run actions/setup-dotnet@v4
"C:\Program Files\PowerShell\7\pwsh.exe" -NoLogo -Sta -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command & 'E:\GHE-AR\AR5_work_actions\actions\setup-dotnet\v4\externals\install-dotnet.ps1' -SkipNonVersionedFiles -Runtime dotnet -Channel LTS
OperationStopped: E:\GHE-AR\AR5_work_actions\actions\setup-dotnet\v4\externals\install-dotnet.ps1:481
Line |
481 | throw $DownloadException
| ~~~~~~~~~~~~~~~~~~~~~~~~
| Unable to download https://builds.dotnet.microsoft.com/dotnet/Runtime/8.0.[12](https://github.com/<>/<>/actions/runs/12813433294/job/35722398808#step:3:13)/dotnet-runtime-8.0.12-win-x64.zip.
Warning: Failed to install dotnet runtime + cli, exit code: 1. OperationStopped: E:\GHE-AR\AR5_work_actions\actions\setup-dotnet\v4\externals\install-dotnet.ps1:481

Expected behavior:
Installation completed

Actual behavior:
Exception during Download

@vinaysandela vinaysandela added bug Something isn't working needs triage labels Jan 16, 2025
@priyagupta108
Copy link
Contributor

Hi @vinaysandela 👋,
Thank you for your report. We will investigate the issue and get back to you as soon as we have updates.

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

3 participants