Skip to content

5.0.0.2

5.0.0.2 #11

# $schema: https://json.schemastore.org/github-workflow
name: 'Build and release plugin'
on:
release:
types:
- released
workflow_dispatch:
jobs:
test:
uses: jellyfin/jellyfin-meta-plugins/.github/workflows/test.yaml@master
with:
dotnet-version: ${{ vars.DOTNET_8 }}
build:
needs: test
uses: ./.github/workflows/build.yml
upload:
needs: build
uses: ./.github/workflows/upload.yml
upload-repo:
if: ${{ contains(github.repository, 'lyarenei/') }}
needs: build
uses: ./.github/workflows/upload-repo.yml
with:
repo: ${{ vars.REPO_DEFAULT }}
secrets:
host: ${{ secrets.DEPLOY_HOST }}
user: ${{ secrets.DEPLOY_USER }}
key: ${{ secrets.DEPLOY_KEY }}
update-manifest:
if: ${{ contains(github.repository, 'lyarenei/') }}
needs: upload-repo
uses: ./.github/workflows/publish.yml
with:
repo: ${{ vars.REPO_DEFAULT }}
secrets:
host: ${{ secrets.DEPLOY_HOST }}
user: ${{ secrets.DEPLOY_USER }}
key: ${{ secrets.DEPLOY_KEY }}