intro-skipper/.github/workflows/build-dotnet.yml

37 lines
767 B
YAML
Raw Normal View History

2021-12-14 07:44:50 -07:00
name: Build Plugin
on:
push:
branches: [ master ]
2021-12-14 07:44:50 -07:00
paths-ignore:
- '**/*.md'
pull_request:
branches: [ master ]
2021-12-14 07:44:50 -07:00
paths-ignore:
- '**/*.md'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
2021-12-14 07:44:50 -07:00
- name: Setup .NET
uses: actions/setup-dotnet@v2
with:
2021-12-14 07:44:50 -07:00
dotnet-version: 6.0.x
2021-12-14 07:44:50 -07:00
- name: Build Jellyfin Plugin
uses: oddstr13/jellyfin-plugin-repository-manager@v0.4.2
id: jprm
with:
dotnet-target: net6.0
2021-12-14 07:44:50 -07:00
- name: Upload Artifact
uses: actions/upload-artifact@v2
with:
name: build-artifact
retention-days: 30
if-no-files-found: error
path: ${{ steps.jprm.outputs.artifact }}