name: '🏗️ Build Plugin' on: push: branches: - master paths-ignore: - '**/*.md' pull_request: branches: - master paths-ignore: - '**/*.md' workflow_dispatch: jobs: build: name: Build (${{ matrix.target }}) runs-on: ubuntu-latest strategy: fail-fast: false matrix: include: # Jellyfin 10.11.x, net9.0. - target: jf10 dotnet: '9.0.x' # Jellyfin 12.x, net10.0. - target: jf12 dotnet: '10.0.x' steps: - name: Checkout Repository uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 - name: Setup .NET uses: actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 # v4 with: dotnet-version: ${{ matrix.dotnet }} - name: Build env: JellyfinTarget: ${{ matrix.target }} run: dotnet build Jellyfin.Plugin.Lyrics/Jellyfin.Plugin.Lyrics.csproj --configuration Release