impoving build system
Some checks failed
🏗️ Build Plugin / build (push) Successful in 57s
🧪 Test Plugin / test (push) Successful in 1m12s
🚀 Release Plugin / build-and-release (push) Failing after 39s

This commit is contained in:
Duncan Tourolle 2026-01-11 09:40:18 +01:00
parent cdf53c5288
commit 67619a4f56
3 changed files with 16 additions and 5 deletions

View File

@ -15,7 +15,7 @@ on:
jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
container:
image: gitea.tourolle.paris/dtourolle/jellypod-builder:latest

View File

@ -13,7 +13,7 @@ on:
jobs:
build-and-release:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
container:
image: gitea.tourolle.paris/dtourolle/jellypod-builder:latest
@ -79,8 +79,16 @@ jobs:
GITEA_URL="${{ github.server_url }}"
# Prepare release body
RELEASE_BODY="Jellypod Jellyfin Plugin ${{ steps.get_version.outputs.version }}\n\nSee attached files for plugin installation.\n\nTo install, add this repository URL to Jellyfin:\n\`${GITEA_URL}/${REPO_OWNER}/${REPO_NAME}/raw/branch/master/manifest.json\`"
RELEASE_BODY_JSON=$(echo -n "${RELEASE_BODY}" | jq -Rs .)
RELEASE_BODY=$(cat <<EOF
Jellypod Jellyfin Plugin ${{ steps.get_version.outputs.version }}
See attached files for plugin installation.
To install, add this repository URL to Jellyfin:
${GITEA_URL}/${REPO_OWNER}/${REPO_NAME}/raw/branch/master/manifest.json
EOF
)
RELEASE_BODY_JSON=$(printf '%s' "$RELEASE_BODY" | jq -Rs .)
# Create release using Gitea API
RESPONSE=$(curl -s -w "\n%{http_code}" -X POST \

View File

@ -1,10 +1,13 @@
FROM mcr.microsoft.com/dotnet/sdk:8.0
# Install Python and pip for JPRM
# Install Python, Node.js, and tools
RUN apt-get update && apt-get install -y \
python3 \
python3-pip \
jq \
git \
nodejs \
npm \
&& rm -rf /var/lib/apt/lists/*
# Install JPRM