ci: fix build
This commit is contained in:
parent
54574cf0ce
commit
5f5a5d091d
|
@ -34,7 +34,7 @@ jobs:
|
|||
dotnet restore ${{ env.project }} --no-cache
|
||||
dotnet publish --nologo --no-restore --configuration=Release --framework=net6.0 ${{ env.project }}
|
||||
mkdir -p artifacts
|
||||
cp ./bin/Release/net6.0/Jellyfin.Plugin.MetaShark.dll ./artifacts/
|
||||
cp ./Jellyfin.Plugin.MetaShark/bin/Release/net6.0/Jellyfin.Plugin.MetaShark.dll ./artifacts/
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
|
|
|
@ -33,9 +33,9 @@ jobs:
|
|||
- name: Build
|
||||
run: |
|
||||
dotnet restore ${{ env.project }} --no-cache
|
||||
dotnet publish --nologo --no-restore --configuration=Release --framework=net6.0 --output=tmp -p:Version=${{steps.vars.outputs.VERSION}} ${{ env.project }}
|
||||
dotnet publish --nologo --no-restore --configuration=Release --framework=net6.0 -p:Version=${{steps.vars.outputs.VERSION}} ${{ env.project }}
|
||||
mkdir -p artifacts
|
||||
cp ./tmp/Jellyfin.Plugin.MetaShark.dll ./artifacts/
|
||||
cp ./Jellyfin.Plugin.MetaShark/bin/Release/net6.0/Jellyfin.Plugin.MetaShark.dll ./artifacts/
|
||||
- name: Compress build files
|
||||
uses: thedoctor0/zip-release@main
|
||||
with:
|
||||
|
|
|
@ -44,7 +44,7 @@ jellyfin电影元数据插件,影片信息只要从豆瓣获取,并由TheMov
|
|||
|
||||
```sh
|
||||
dotnet restore
|
||||
dotnet publish --output=artifacts Jellyfin.Plugin.MetaShark/Jellyfin.Plugin.MetaShark.csproj
|
||||
dotnet publish Jellyfin.Plugin.MetaShark/Jellyfin.Plugin.MetaShark.csproj
|
||||
```
|
||||
|
||||
|
||||
|
@ -52,7 +52,7 @@ dotnet publish --output=artifacts Jellyfin.Plugin.MetaShark/Jellyfin.Plugin.Met
|
|||
|
||||
1. Build the plugin
|
||||
|
||||
2. Create a folder, like `metashark` and copy `artifacts/Jellyfin.Plugin.MetaShark.dll` into it
|
||||
2. Create a folder, like `metashark` and copy `./bin/Debug/net6.0/Jellyfin.Plugin.MetaShark.dll` into it
|
||||
|
||||
3. Move folder `metashark` to jellyfin `data/plugins` folder
|
||||
|
||||
|
|
Loading…
Reference in New Issue