Skip to content

Commit c96c2b9

Browse files
committed
revert back
1 parent e0d24a2 commit c96c2b9

1 file changed

Lines changed: 2 additions & 10 deletions

File tree

‎Tasks/PublishToolTask.cs‎

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,11 @@ public override async Task RunAsync(BuildContext context)
1010
{
1111
var rid = "";
1212
if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
13-
rid = RuntimeInformation.ProcessArchitecture switch
14-
{
15-
Architecture.Arm or Architecture.Arm64 => "windows-arm64",
16-
_ => "windows-x64",
17-
};
13+
rid = "windows";
1814
else if (RuntimeInformation.IsOSPlatform(OSPlatform.OSX))
1915
rid = "osx";
2016
else
21-
rid = RuntimeInformation.ProcessArchitecture switch
22-
{
23-
Architecture.Arm or Architecture.Arm64 => "linux-arm64",
24-
_ => "linux-x64",
25-
};
17+
rid = "linux";
2618

2719
if (!(RuntimeInformation.IsOSPlatform(OSPlatform.OSX) && context.IsUniversalBinary))
2820
{

0 commit comments

Comments
 (0)