This repository has been archived by the owner on Oct 13, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0f04edc
commit 692918c
Showing
1 changed file
with
8 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,8 @@ name: Update Jellyfin release | |
on: | ||
release: | ||
types: [created, edited, deleted] | ||
pull_request: | ||
types: [opened, synchronize] # todo: remove this | ||
|
||
concurrency: | ||
group: "${{ github.workflow }}-${{ github.event.release.tag_name }}" | ||
|
@@ -51,7 +53,8 @@ jobs: | |
uses: robinraju/[email protected] | ||
with: | ||
repository: "${{ github.repository }}" | ||
tag: "${{ github.event.release.tag_name }}" | ||
# tag: "${{ github.event.release.tag_name }}" | ||
tag: "v2024.523.1819.4" | ||
fileName: "*.zip" | ||
tarBall: false | ||
zipBall: false | ||
|
@@ -64,10 +67,10 @@ jobs: | |
github.event.action != 'deleted' | ||
id: loop | ||
run: | | ||
files=${{ fromJson(steps.download.outputs.downloaded_files) }} | ||
files=$(echo '${{ steps.download.outputs.downloaded_files }}' | jq -r '.[]') | ||
file_number=0 | ||
plugin="" | ||
for file in "${files[@]}"; do | ||
for file in $files; do | ||
echo "$file" | ||
# extract the zip file | ||
|
@@ -88,9 +91,11 @@ jobs: | |
fi | ||
echo "plugin_zip=$plugin" >> $GITHUB_OUTPUT | ||
echo "found plugin: $plugin" | ||
- name: Create/Update Jellyfin Release | ||
if: >- | ||
false && | ||
steps.check.outputs.hasTopic == 'true' | ||
uses: LizardByte/[email protected] | ||
with: | ||
|