Add GitHub Actions workflows for building and releasing the Jellyfin plugin
All checks were successful
Auto Release Plugin / build-and-release (push) Successful in 51s

This commit is contained in:
CodeDevMLH
2025-12-31 01:24:07 +01:00
parent 817b8786c8
commit 9cf4da92ac
6 changed files with 136 additions and 11 deletions

View File

@@ -70,7 +70,7 @@ jobs:
REPO_OWNER="${{ github.repository_owner }}"
REPO_NAME="${{ github.event.repository.name }}"
VERSION="${{ env.VERSION }}"
DOWNLOAD_URL="https://git.mahom03-spacecloud.de/${{ github.repository }}/releases/download/v$VERSION/Jellyfin.Plugin.Seasonals.zip"
DOWNLOAD_URL="https://github.com/$REPO_OWNER/$REPO_NAME/releases/download/v$VERSION/Jellyfin.Plugin.Seasonals.zip"
echo "Updating manifest.json with:"
echo "Hash: ${{ env.ZIP_HASH }}"
@@ -90,13 +90,12 @@ jobs:
file_pattern: manifest.json
- name: Create Release
uses: akkuman/gitea-release-action@v1
uses: softprops/action-gh-release@v2
with:
server_url: "https://git.mahom03-spacecloud.de"
body: ${{ env.CHANGELOG }}
token: ${{ secrets.GITHUB_TOKEN }}
files: ${{ env.ZIP_PATH }}
name: "v${{ env.VERSION }}"
tag_name: "v${{ env.VERSION }}"
name: "v${{ env.VERSION }}"
# body: ${{ env.CHANGELOG }}
files: ${{ env.ZIP_PATH }}
draft: false
prerelease: false
generate_release_notes: true