diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 32482194..83b3e507 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -79,6 +79,7 @@ jobs: name: Create windows release runs-on: windows-latest needs: build + if: github.ref == 'refs/heads/master' steps: - uses: actions/checkout@v1 - name: Download windows build @@ -105,6 +106,7 @@ jobs: name: Create debian, rpm & arch releases runs-on: ubuntu-latest needs: build + if: github.ref == 'refs/heads/master' env: description: "A media browser" version: v0.0.1 #${{ github.ref }} diff --git a/Kyoo.Core/Controllers/PluginManager.cs b/Kyoo.Core/Controllers/PluginManager.cs index e87d83a8..7fc2c6cf 100644 --- a/Kyoo.Core/Controllers/PluginManager.cs +++ b/Kyoo.Core/Controllers/PluginManager.cs @@ -21,7 +21,7 @@ namespace Kyoo.Core.Controllers /// /// The service provider. It allow plugin's activation. /// - private IServiceProvider _provider; + private readonly IServiceProvider _provider; /// /// The configuration to get the plugin's directory. ///