Skip to content

Commit

Permalink
Fix the .NET version in the rpm-make script (#327)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonko0493 authored Jan 16, 2024
1 parent c78aefd commit 23e9880
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion install/rpm-scripts/rpm-make.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash

dnf install -y rpmdevtools rpmlint dotnet-sdk-6.0
dnf install -y rpmdevtools rpmlint dotnet-sdk-8.0
rpmbuild -bb /root/rpmbuild/SPECS/SerialLoops.spec
2 changes: 1 addition & 1 deletion test/SerialLoops.Tests/CoreTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public void SetUp()
// Download data archive
_log.Log("Downloading data archive...");
using HttpClient client = new();
HttpRequestMessage request = new(HttpMethod.Get, "https://haroohie.blob.core.windows.net/serial-loops/choku_data.zip");
HttpRequestMessage request = new(HttpMethod.Get, "https://haroohie.blob.core.windows.net/serial-loops/choku_data.zip?sp=r&st=2024-01-15T09:04:19Z&se=2030-01-15T17:04:19Z&spr=https&sv=2022-11-02&sr=b&sig=1WvNbRiH6HAwoR7Mm4kz8lNMCgHobKxPwJLL7oNGCX0%3D");
HttpResponseMessage response = client.SendAsync(request).GetAwaiter().GetResult().EnsureSuccessStatusCode(); // Setup methods can't be async so...
File.WriteAllBytes(_zipPath, response.Content.ReadAsByteArrayAsync().GetAwaiter().GetResult()); // i'm so sorry

Expand Down

0 comments on commit 23e9880

Please sign in to comment.