Skip to content

dotnet-install: Failed to verify the version of installed ".NET Core SDK". #466

@MichalStrehovsky

Description

@MichalStrehovsky

I'm using the setup-dotnet Github action to install the latest 9.0 daily build.

I'm getting the error in the subject. Full log:

"C:\Program Files\PowerShell\7\pwsh.exe" -NoLogo -Sta -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command & 'D:\a\_actions\actions\setup-dotnet\v4\externals\install-dotnet.ps1' -SkipNonVersionedFiles -Runtime dotnet -Channel LTS
dotnet-install: .NET Core Runtime with version '8.0.4' is already installed.
"C:\Program Files\PowerShell\[7](https://github.com/MichalStrehovsky/rt-sz/actions/runs/8874728405/job/24363235450#step:2:8)\pwsh.exe" -NoLogo -Sta -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command & 'D:\a\_actions\actions\setup-dotnet\v4\externals\install-dotnet.ps1' -SkipNonVersionedFiles -Channel 9.0 -Quality daily
dotnet-install: Remote file https://dotnetbuilds.azureedge.net/public/Sdk/9.0.100-preview.5.24227.1/dotnet-sdk-9.0.100-preview.5.24227.1-win-x64.zip size is 2973106[8](https://github.com/MichalStrehovsky/rt-sz/actions/runs/8874728405/job/24363235450#step:2:9)8 bytes.
dotnet-install: Downloaded file https://dotnetbuilds.azureedge.net/public/Sdk/9.0.100-preview.5.24227.1/dotnet-sdk-9.0.100-preview.5.24227.1-win-x64.zip size is 297310688 bytes.
dotnet-install: The remote and local file sizes are equal.
dotnet-install: Extracting the archive.
dotnet-install: Failed to verify the version of installed ".NET Core SDK".
Installation source: https://dotnetbuilds.azureedge.net/public/Sdk/[9](https://github.com/MichalStrehovsky/rt-sz/actions/runs/8874728405/job/24363235450#step:2:10).0.100-preview.5.24227.1/dotnet-sdk-9.0.100-preview.5.24227.1-win-x64.zip.
Installation location: C:\Program Files\dotnet.
Report the bug at https://github.com/dotnet/install-scripts/issues.
Exception: D:\a\_actions\actions\setup-dotnet\v4\externals\install-dotnet.ps1:1342
Line |
1342 |      throw "`"$assetName`" with version = $($DownloadedLink.effectiveV …
     |      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | ".NET Core SDK" with version = 9.0.100 failed to install with an unknown error.
Error: Failed to install dotnet, exit code: 1. dotnet-install: Failed to verify the version of installed ".NET Core SDK".
Installation source: https://dotnetbuilds.azureedge.net/public/Sdk/9.0.100-preview.5.24227.1/dotnet-sdk-9.0.100-preview.5.24227.1-win-x64.zip.
Installation location: C:\Program Files\dotnet.
Report the bug at https://github.com/dotnet/install-scripts/issues.
Exception: D:\a\_actions\actions\setup-dotnet\v4\externals\install-dotnet.ps1:1342
Line |
1342 |      throw "`"$assetName`" with version = $($DownloadedLink.effectiveV …
     |      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | ".NET Core SDK" with version = 9.0.[10](https://github.com/MichalStrehovsky/rt-sz/actions/runs/8874728405/job/24363235450#step:2:11)0 failed to install with an unknown error.

FWIW, here is how my Github workflow invokes the action:

https://github.com/MichalStrehovsky/rt-sz/blob/49efb3c6bbf5eeeb3480945d26181aaac9fe5137/.github/workflows/sizestats.yml#L121-L125

Here is the failing run: https://github.com/MichalStrehovsky/rt-sz/actions/runs/8874728405/job/24363235450

This worked fine 3 days ago and I didn't make any changes in the repo for a while.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions