Skip to content

Commit

Permalink
Merge pull request #179 from jellyfin-adult/feat/178
Browse files Browse the repository at this point in the history
chore(ci): update actions (#178)
  • Loading branch information
jellyfin-adult authored Jan 31, 2025
2 parents b577499 + 8850336 commit 8e9ef72
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Setup .NET Core
uses: actions/setup-dotnet@v4
with:
dotnet-version: "6.0.x"
dotnet-version: "8.0.x"
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 6.0.x
dotnet-version: 8.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
Expand Down
2 changes: 1 addition & 1 deletion Jellyfin.Plugin.Pronium.Tests/SiteAnalMomTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public async Task UpdateIsWorking()
Assert.That(result.People.Count, Is.EqualTo(1));
Assert.That(result.People.Select(t => t.Name), Does.Contain("Christy Love"));
#pragma warning disable NUnit2021 // Incompatible types for EqualTo constraint
Assert.That(result.Item.PremiereDate, Is.EqualTo(new DateTime(2024, 02, 17)).Within(24).Hours);
Assert.That(result.Item.PremiereDate, Is.EqualTo(new DateTime(2024, 02, 17)).Within(12).Hours);
#pragma warning restore NUnit2021 // Incompatible types for EqualTo constraint
}

Expand Down
4 changes: 2 additions & 2 deletions Jellyfin.Plugin.Pronium/Pronium.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<TargetFramework Condition="'$(Configuration)'=='Debug' or '$(Configuration)'=='Release'">net8.0</TargetFramework>
<TargetFramework Condition="'$(Configuration)'=='Debug.Emby' or '$(Configuration)'=='Release.Emby'">netstandard2.1</TargetFramework>
<RootNamespace>Pronium</RootNamespace>
<AssemblyVersion>2.1.9.139</AssemblyVersion>
<FileVersion>2.1.9.139</FileVersion>
<AssemblyVersion>2.1.9.141</AssemblyVersion>
<FileVersion>2.1.9.141</FileVersion>
<SourceRevisionId>build$([System.DateTime]::UtcNow.ToString("yyyy-MM-ddTHH:mm:ss:fffZ"))</SourceRevisionId>
<Copyright>© Jellyfin Adult</Copyright>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
Expand Down
2 changes: 1 addition & 1 deletion Jellyfin.Plugin.Pronium/Sites/NetworkGammaEnt.cs
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ public async Task<string> GetAPIKey(int[] siteNum, CancellationToken cancellatio

if (string.IsNullOrEmpty(result))
{
var http = await HTTP.Request(Helper.GetSearchBaseURL(siteNum) + "/en/login", cancellationToken).ConfigureAwait(false);
var http = await HTTP.Request(Helper.GetSearchBaseURL(siteNum), cancellationToken).ConfigureAwait(false);
if (http.IsOK)
{
var regEx = Regex.Match(http.Content, "\"apiKey\":\"(.*?)\"");
Expand Down

0 comments on commit 8e9ef72

Please sign in to comment.