on: workflow_call: inputs: dotnet-version: required: false default: "6.0.x" description: "The .NET version to setup for the build" type: string dotnet-target: required: false default: "net6.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@b9e92867a6aa279d611a5ea80cf61f6358838c39 id: jprm with: dotnet-target: "${{ inputs.dotnet-target }}" - name: Upload Artifact uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 # tag=v3 with: name: build-artifact retention-days: 30 if-no-files-found: error path: ${{ steps.jprm.outputs.artifact }}