diff --git a/Pipeline/Build.Benchmarks.cs b/Pipeline/Build.Benchmarks.cs index 1f90ca80f..638c2b682 100644 --- a/Pipeline/Build.Benchmarks.cs +++ b/Pipeline/Build.Benchmarks.cs @@ -207,7 +207,10 @@ async Task DownloadBenchmarkFile(string filename) } using JsonDocument document = JsonDocument.Parse(responseContent); - string content = Base64Decode(document.RootElement.GetProperty("content").GetString()); + var contentStream = await client.GetStreamAsync( + $"https://raw.githubusercontent.com/aweXpect/aweXpect/refs/heads/{BenchmarkBranch}/Docs/pages/static/js/{filename}"); + using StreamReader reader = new(contentStream, Encoding.UTF8); + string content = await reader.ReadToEndAsync(); string sha = document.RootElement.GetProperty("sha").GetString(); return new BenchmarkFile(content, sha); }