From fcd70982065c06c58bfc8aa4a100321b1527a85f Mon Sep 17 00:00:00 2001 From: iSplasher Date: Thu, 4 Jan 2024 21:52:37 +0100 Subject: [PATCH] ci fix; --- .github/workflows/release.yml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 06b2ac2..79bc8d4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -98,11 +98,26 @@ jobs: working-directory: ${{ matrix.plugindir }} run: dotnet restore --locked-mode - - name: Build & Release + - name: Build working-directory: ${{ matrix.plugindir }} run: | yarn release + - name: Download Toolbox + working-directory: ${{ matrix.plugindir }} + shell: pwsh + run: | + Invoke-WebRequest -Uri $env:TOOLBOX_DOWNLOAD_URL -OutFile "Playnite.zip" + Expand-Archive -Path "Playnite.zip" -DestinationPath "Playnite" + Remove-Item "Playnite.zip" + + - name: Package + shell: pwsh + working-directory: ${{ matrix.plugindir }} + run: | + ./Playnite/Toolbox.exe pack ../../out/${{ env.PLUGIN_ID }} ../../out + + - name: Commit and push changelog run: | if ! git diff --quiet ${{ matrix.plugindir }}/CHANGELOG.md; then