on: workflow_call: inputs: dotnet-version: required: false default: "9.0.x" description: "The .NET version to setup for the build" type: string dotnet-target: required: false default: "net9.0" description: "The .NET target to set for JPRM" type: string jobs: build: runs-on: ubuntu-latest steps: - name: Checkout Repository uses: actions/checkout@v2 - name: Setup .NET uses: actions/setup-dotnet@v1 with: dotnet-version: "${{ inputs.dotnet-version }}" - name: Build Jellyfin Plugin uses: oddstr13/jellyfin-plugin-repository-manager@9497a0a499416cc572ed2e07a391d9f943a37b4d # v1.1.1 id: jprm with: dotnet-target: "${{ inputs.dotnet-target }}" - name: Upload Artifact uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # tag=v4.6.2 with: name: build-artifact retention-days: 30 if-no-files-found: error path: ${{ steps.jprm.outputs.artifact }}