-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (34 loc) · 1.18 KB
/
Copy pathrelease.yml
File metadata and controls
43 lines (34 loc) · 1.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: Release
on:
push:
tags:
- 'v*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: '9.0.x'
- name: Build
run: dotnet build StashMovies/Jellyfin.Plugin.StashMovies.csproj --configuration Release
- name: Package
run: |
mkdir -p release
cp StashMovies/bin/Release/net9.0/Jellyfin.Plugin.StashMovies.dll release/
cd release && zip ../StashMoviesSync.zip Jellyfin.Plugin.StashMovies.dll
- name: Get checksum
id: checksum
run: echo "md5=$(md5sum StashMoviesSync.zip | awk '{print $1}')" >> $GITHUB_OUTPUT
- name: Create GitHub Release
uses: softprops/action-gh-release@v2
with:
files: StashMoviesSync.zip
body: |
## Installation
1. Download `StashMoviesSync.zip` and extract the `.dll`.
2. Copy `Jellyfin.Plugin.StashMovies.dll` to your Jellyfin plugins directory (e.g. `/config/plugins/StashMovies/`).
3. Restart Jellyfin.
**MD5:** ${{ steps.checksum.outputs.md5 }}