Skip to content

Rework CI system

Rework CI system #3

# $schema: https://json.schemastore.org/github-workflow
name: 'Build and release plugin (dev)'
on:
pull_request:
branches:
- main
paths-ignore:
- '**/*.md'
- '**/*.yml'
- '**/*.yaml'
workflow_dispatch:
jobs:
test:
uses: jellyfin/jellyfin-meta-plugins/.github/workflows/test.yaml@master
with:
dotnet-version: "8.0"
build:
uses: ./.github/workflows/build.yml
upload-repo:
needs: build
uses: ./.github/workflows/upload-repo.yml
with:
repo: "jellyfin-dev"
publish:
if: ${{ contains(github.repository, 'lyarenei/') }}
needs: upload

Check failure on line 31 in .github/workflows/build-upload-publish-dev.yml

View workflow run for this annotation

GitHub Actions / Build and release plugin (dev)

Invalid workflow file

The workflow is not valid. .github/workflows/build-upload-publish-dev.yml (Line: 31, Col: 12): Job 'publish' depends on unknown job 'upload'.
uses: ./.github/workflows/publish.yml
with:
repo: "jellyfin-dev"