Skip to content

Commit 6584704

Browse files
[release/9.0.1xx] Use PortableRid config value for self-contained publish test (#43244)
1 parent f9a948e commit 6584704

File tree

1 file changed

+2
-2
lines changed
  • src/SourceBuild/content/test/Microsoft.DotNet.SourceBuild.SmokeTests

1 file changed

+2
-2
lines changed

src/SourceBuild/content/test/Microsoft.DotNet.SourceBuild.SmokeTests/TestScenario.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,11 @@ internal void Execute(DotNetHelper dotNetHelper)
5959
{
6060
dotNetHelper.ExecutePublish(projectName, Template, selfContained: false);
6161
dotNetHelper.ExecutePublish(projectName, Template, selfContained: true, rid: Config.TargetRid);
62-
dotNetHelper.ExecutePublish(projectName, Template, selfContained: true, rid: $"linux-{Config.TargetArchitecture}");
62+
dotNetHelper.ExecutePublish(projectName, Template, selfContained: true, rid: Config.PortableRid);
6363
}
6464
if (Commands.HasFlag(DotNetActions.PublishR2R))
6565
{
66-
dotNetHelper.ExecutePublish(projectName, Template, selfContained: true, rid: $"linux-{Config.TargetArchitecture}", trimmed: true, readyToRun: true);
66+
dotNetHelper.ExecutePublish(projectName, Template, selfContained: true, rid: Config.PortableRid, trimmed: true, readyToRun: true);
6767
}
6868
if (Commands.HasFlag(DotNetActions.Test))
6969
{

0 commit comments

Comments
 (0)