Skip to content
This repository has been archived by the owner on Oct 13, 2024. It is now read-only.

Commit

Permalink
ci: fix check download assets
Browse files Browse the repository at this point in the history
  • Loading branch information
ReenigneArcher committed May 23, 2024
1 parent 0f04edc commit 692918c
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/update-jellyfin-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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:
Expand Down

0 comments on commit 692918c

Please sign in to comment.