44 lines
930 B
YAML
44 lines
930 B
YAML
name: '🏗️ Build Plugin'
|
|
|
|
on:
|
|
push:
|
|
paths-ignore:
|
|
- '**/*.md'
|
|
- '.gitea/**'
|
|
- '.github/**'
|
|
- 'jellyfin.ruleset'
|
|
- '.gitignore'
|
|
- '.editorconfig'
|
|
- 'LICENSE'
|
|
- 'logo.png'
|
|
pull_request:
|
|
paths-ignore:
|
|
- '**/*.md'
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout Repository
|
|
uses: actions/checkout@v6
|
|
|
|
- name: Setup .NET
|
|
uses: actions/setup-dotnet@v5
|
|
with:
|
|
dotnet-version: "9.0.x"
|
|
|
|
- name: Build Jellyfin Plugin
|
|
uses: oddstr13/jellyfin-plugin-repository-manager@v1
|
|
id: jprm
|
|
with:
|
|
dotnet-target: "net9.0"
|
|
|
|
- name: Upload Artifact
|
|
uses: actions/upload-artifact@v6
|
|
with:
|
|
name: build-artifact
|
|
retention-days: 30
|
|
if-no-files-found: error
|
|
path: ${{ steps.jprm.outputs.artifact }}
|