Skip to content

General maintenance #18

General maintenance

General maintenance #18

# $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:
env:
DOTNET_VERSION: "8.0"
REPO_NAME: "jellyfin-dev"
jobs:
test:
uses: jellyfin/jellyfin-meta-plugins/.github/workflows/test.yaml@master
with:
dotnet-version: ${{ env.DOTNET_VERSION }}

Check failure on line 22 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: 22, Col: 23): Unrecognized named-value: 'env'. Located at position 1 within expression: env.DOTNET_VERSION .github/workflows/build-upload-publish-dev.yml (Line: 32, Col: 13): Unrecognized named-value: 'env'. Located at position 1 within expression: env.REPO_NAME
build:
uses: ./.github/workflows/build.yml
upload-repo:
if: ${{ contains(github.repository, 'lyarenei/') }}
needs: build
uses: ./.github/workflows/upload-repo.yml
with:
repo: ${{ env.REPO_NAME }}
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: ${{ env.REPO_NAME }}
secrets:
host: ${{ secrets.DEPLOY_HOST }}
user: ${{ secrets.DEPLOY_USER }}
key: ${{ secrets.DEPLOY_KEY }}