dotnet-install:无法下载sdk自托管github运行程序

时间:2020-10-15 09:41:32

标签: c# powershell .net-core yaml github-actions

我在Windows vm上具有自托管的github运行程序。一切正常,突然我开始明白了:

.performance__image {
    max-width: 100%;
    height: auto;
}

我的部署脚本:

dotnet-install: Downloading link: https://dotnetcli.azureedge.net/dotnet/Sdk/3.1.101/dotnet-sdk-3.1.101-win-x64.zip
dotnet-install: Cannot download: https://dotnetcli.azureedge.net/dotnet/Sdk/3.1.101/dotnet-sdk-3.1.101-win-x64.zip
dotnet-install: Downloading legacy link: https://dotnetcli.azureedge.net/dotnet/Sdk/3.1.101/dotnet-dev-win-x64.3.1.101.zip
dotnet-install: Cannot download: https://dotnetcli.azureedge.net/dotnet/Sdk/3.1.101/dotnet-dev-win-x64.3.1.101.zip
Could not find/download: ".NET Core SDK" with version = 3.1.101
Refer to: https://aka.ms/dotnet-os-lifecycle for information on .NET Core support
At C:\Users\Mediapark\actions-runner\_work\_actions\actions\setup-dotnet\v1\externals\install-dotnet.ps1:687 char:5
+     throw "Could not find/download: `"$assetName`" with version = $Sp ...
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (Could not find/...ET Core support:String) [], RuntimeException
    + FullyQualifiedErrorId : Could not find/download: ".NET Core SDK" with version = 3.1.101
Refer to: https://aka.ms/dotnet-os-lifecycle for information on .NET Core support
 
Error: The process 'C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe' failed with exit code 1

0 个答案:

没有答案