v0.6.4 #22
Workflow file for this run
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
name: "🚀 Publish Plugin" | |
on: | |
release: | |
types: | |
- released | |
workflow_dispatch: | |
jobs: | |
build: | |
uses: jellyfin/jellyfin-meta-plugins/.github/workflows/build.yaml@master | |
with: | |
dotnet-version: "8.0.*" | |
dotnet-target: "net8.0" | |
upload: | |
runs-on: ubuntu-latest | |
needs: | |
- build | |
steps: | |
- name: Download Artifact | |
uses: actions/download-artifact@v4 | |
with: | |
name: build-artifact | |
- name: Prepare GitHub Release assets | |
run: |- | |
for file in ./*; do | |
md5sum ${file#./} >> ${file%.*}.md5 | |
sha256sum ${file#./} >> ${file%.*}.sha256 | |
done | |
ls -l | |
- name: Upload GitHub Release assets | |
uses: shogo82148/actions-upload-release-asset@v1.7.5 | |
with: | |
upload_url: ${{ github.event.release.upload_url }} | |
asset_path: ./* | |
generate: | |
runs-on: ubuntu-latest | |
needs: | |
- upload | |
steps: | |
- name: Jellyfin plugin repo | |
uses: Kevinjil/jellyfin-plugin-repo-action@v0.4.1 | |
with: | |
githubToken: ${{ secrets.GITHUB_TOKEN }} | |
repository: ${{ github.repository }} |