From 8d5f520838bbe2fe0ad02df53c85809fbbb1fcbb Mon Sep 17 00:00:00 2001 From: Kunal Pathak Date: Sun, 26 Mar 2023 21:20:55 -0700 Subject: [PATCH] Update the hardcoded dotnet-version with channels (#83905) * Update the hardcoded dotnet-version with channels * fix the parameter --- src/coreclr/scripts/superpmi_collect_setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/coreclr/scripts/superpmi_collect_setup.py b/src/coreclr/scripts/superpmi_collect_setup.py index 7a66eaf..e9d5f1e 100644 --- a/src/coreclr/scripts/superpmi_collect_setup.py +++ b/src/coreclr/scripts/superpmi_collect_setup.py @@ -405,7 +405,7 @@ def setup_microbenchmark(workitem_directory, arch): # have not published yet. As a result, we hit errors of "dotnet restore". As a workaround, hard code the # working version until we move to ".NET 8" in the script. run_command( - get_python_name() + [dotnet_install_script, "install", "--dotnet-versions", "8.0.100-alpha.1.22558.2", "--architecture", arch, "--install-dir", + get_python_name() + [dotnet_install_script, "install", "--channels", "release/8.0", "--architecture", arch, "--install-dir", dotnet_directory, "--verbose"]) -- 2.7.4