Skip to content

Commit

Permalink
Tests copying logic attempt 4
Browse files Browse the repository at this point in the history
  • Loading branch information
MihaZupan committed Oct 27, 2024
1 parent 58edb1f commit 84ff2fd
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Runner/Helpers/RuntimeHelpers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -170,9 +170,10 @@ public static async Task CopyReleaseTestAssembliesAsync(JobBase job, string bran
.Where(dir => Path.GetFileName(dir).StartsWith("net", StringComparison.OrdinalIgnoreCase))
.Single();

string dllPath = Path.Combine(folder, $"{name}.dll");

File.Copy(dllPath, Path.Combine(destination, $"{name}.dll"));
foreach (string dll in Directory.GetFiles(folder, "*.dll"))
{
File.Copy(dll, Path.Combine(destination, Path.GetFileName(dll)));
}
}
});
}
Expand Down

0 comments on commit 84ff2fd

Please sign in to comment.