Skip to content

Commit

Permalink
Bump minimum Lidarr version to 1.2.0.3183
Browse files Browse the repository at this point in the history
  • Loading branch information
mynameisbogdan authored and ta264 committed Jun 23, 2023
1 parent 3df7908 commit a8d4d12
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 9 deletions.
24 changes: 19 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,26 @@
name: Build Plugin
on:
push:
branches:
- master
tags-ignore:
- '**'
pull_request:
workflow_dispatch:

permissions:
contents: write

env:
# Stop wasting time caching packages
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
# Disable sending usage data to Microsoft
DOTNET_CLI_TELEMETRY_OPTOUT: true
PLUGIN_NAME: Lidarr.Plugin.Deemix
PLUGIN_VERSION: 1.0.0.${{ github.run_number }}
MINIMUM_LIDARR_VERSION: 1.0.0.2498
MINIMUM_LIDARR_VERSION: 1.2.0.3183
DOTNET_VERSION: 6.0.408

jobs:
build:
strategy:
Expand All @@ -18,13 +29,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
submodules: true
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.101
dotnet-version: ${{ env.DOTNET_VERSION }}
- name: Create global.json
run: |
echo '{"sdk":{"version": "${{ env.DOTNET_VERSION }}"}}' > ./global.json
- name: Update Version Info
run: |
echo $PLUGIN_VERSION
Expand All @@ -34,7 +48,7 @@ jobs:
- name: Build
run: dotnet publish src/*.sln -c Release -f ${{ matrix.framework }}
- name: Upload net core
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.framework }}
path: ./${{ env.PLUGIN_NAME }}.${{ matrix.framework }}.zip
Expand Down
2 changes: 1 addition & 1 deletion src/Lidarr
Submodule Lidarr updated 1918 files
2 changes: 1 addition & 1 deletion src/Lidarr.Plugin.Deemix/Download/Clients/Deemix/Deemix.cs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public override void RemoveItem(DownloadClientItem item, bool deleteData)
_proxy.RemoveFromQueue(item.DownloadId, Settings);
}

public override string Download(RemoteAlbum remoteAlbum)
public override string Download(RemoteAlbum remoteAlbum, IIndexer indexer)
{
var release = remoteAlbum.Release;

Expand Down
4 changes: 2 additions & 2 deletions src/NuGet.config
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<packageSources>
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
<add key="Taglib" value="https://pkgs.dev.azure.com/Lidarr/Lidarr/_packaging/Taglib/nuget/v3/index.json" />
<add key="MyFeed" value="https://pkgs.dev.azure.com/Servarr/Servarr/_packaging/SQLite/nuget/v3/index.json" />
<add key="FluentMigrator" value="https://pkgs.dev.azure.com/fluentmigrator/fluentmigrator/_packaging/fluentmigrator/nuget/v3/index.json" />
<add key="SQLite" value="https://pkgs.dev.azure.com/Servarr/Servarr/_packaging/SQLite/nuget/v3/index.json" />
<add key="FluentMigrator" value="https://pkgs.dev.azure.com/Servarr/Servarr/_packaging/FluentMigrator/nuget/v3/index.json" />
</packageSources>
</configuration>

0 comments on commit a8d4d12

Please sign in to comment.