diff --git a/.github/workflows/beta.yaml b/.github/workflows/beta.yaml index b26e9de..82cbd47 100644 --- a/.github/workflows/beta.yaml +++ b/.github/workflows/beta.yaml @@ -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: diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index d14c0d7..7137085 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -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: diff --git a/README.md b/README.md index 3a92cfe..e505d1a 100644 --- a/README.md +++ b/README.md @@ -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