ci: update github action

This commit is contained in:
cxfksword 2023-12-02 15:39:21 +08:00
parent b24ac31a37
commit 7d6a172386
1 changed files with 2 additions and 2 deletions

View File

@ -38,10 +38,10 @@ jobs:
dotnet restore ${{ env.project }}/${{ env.project }}.csproj --no-cache
dotnet publish --nologo --no-restore --configuration=Release --framework=net6.0 -p:Version=${{steps.vars.outputs.VERSION}} ${{ env.project }}
mkdir -p artifacts
zip -j ./artifacts/${{APP_NAME}}.zip ./${{ env.project }}/bin/Release/net6.0/${{ env.project }}.dll
zip -j ./artifacts/${{steps.vars.outputs.APP_NAME}}.zip ./${{ env.project }}/bin/Release/net6.0/${{ env.project }}.dll
cp ./doc/logo.png ./artifacts/logo.png
- name: Generate manifest
run: cd artifacts && python3 ../scripts/generate_manifest.py ${{APP_NAME}}.zip ${GITHUB_REF#refs/*/}
run: cd artifacts && python3 ../scripts/generate_manifest.py ${{steps.vars.outputs.APP_NAME}}.zip ${GITHUB_REF#refs/*/}
- name: Deploy to jellyfin release repo
uses: peaceiris/actions-gh-pages@v3
with: