2021-12-14 07:44:50 -07:00
|
|
|
name: Build Plugin
|
2020-12-15 22:03:10 +01:00
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [ master ]
|
2021-12-14 07:44:50 -07:00
|
|
|
paths-ignore:
|
|
|
|
- '**/*.md'
|
2020-12-15 22:03:10 +01:00
|
|
|
pull_request:
|
|
|
|
branches: [ master ]
|
2021-12-14 07:44:50 -07:00
|
|
|
paths-ignore:
|
|
|
|
- '**/*.md'
|
2020-12-15 22:03:10 +01:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
|
2021-12-14 07:44:50 -07:00
|
|
|
- name: Setup .NET
|
2022-03-01 16:01:13 +00:00
|
|
|
uses: actions/setup-dotnet@v2
|
2020-12-15 22:03:10 +01:00
|
|
|
with:
|
2021-12-14 07:44:50 -07:00
|
|
|
dotnet-version: 6.0.x
|
2020-12-15 22:03:10 +01:00
|
|
|
|
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
|
2020-12-15 22:03:10 +01:00
|
|
|
|
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 }}
|