mirror of
https://github.com/Lidarr/Lidarr
synced 2026-05-09 05:06:09 +02:00
Update Docker workflow to fix RefreshArtistService
This commit is contained in:
parent
e09d402830
commit
1c75901d2d
1 changed files with 2 additions and 5 deletions
7
.github/workflows/docker-build.yml
vendored
7
.github/workflows/docker-build.yml
vendored
|
|
@ -20,15 +20,12 @@ jobs:
|
|||
git checkout v3.1.0.4875
|
||||
git submodule update --init --recursive
|
||||
|
||||
- name: Check file exists
|
||||
run: find src/NzbDrone.Core/Music -name "RefreshArtistService.cs"
|
||||
|
||||
- name: Apply fix
|
||||
run: |
|
||||
sed -i 's/_rootFolderService.All().Select(x => x.Path).ToList();/artists.Select(x => x.Path).ToList();/' src/NzbDrone.Core/Music/RefreshArtistService.cs
|
||||
sed -i 's/_rootFolderService.All().Select(x => x.Path).ToList();/artists.Select(x => x.Path).ToList();/' src/NzbDrone.Core/Music/Services/RefreshArtistService.cs
|
||||
|
||||
- name: Verify fix applied
|
||||
run: grep -n "artists.Select(x => x.Path).ToList()" src/NzbDrone.Core/Music/RefreshArtistService.cs
|
||||
run: grep -n "artists.Select(x => x.Path).ToList()" src/NzbDrone.Core/Music/Services/RefreshArtistService.cs
|
||||
|
||||
- name: Setup .NET
|
||||
uses: actions/setup-dotnet@v4
|
||||
|
|
|
|||
Loading…
Reference in a new issue