Refactor build workflow to streamline plugin build process and enhance artifact management

This commit is contained in:
CodeDevMLH
2026-01-02 19:25:49 +01:00
parent fd891e84c1
commit 62ebe8b293

View File

@@ -2,18 +2,42 @@ name: '🏗️ Build Plugin'
on: on:
push: push:
branches:
- main
- dev
paths-ignore: paths-ignore:
- '**/*.md' - '**/*.md'
- '.gitea/**'
- '.github/**'
- 'jellyfin.ruleset'
- '.gitignore'
- '.editorconfig'
- 'LICENSE'
- 'logo.png'
pull_request: pull_request:
branches:
- main
paths-ignore: paths-ignore:
- '**/*.md' - '**/*.md'
workflow_dispatch: workflow_dispatch:
jobs: jobs:
call: build:
uses: ./.github/workflows/build_internal.yaml 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 }}