Skip to content

Commit

Permalink
ci fix;
Browse files Browse the repository at this point in the history
  • Loading branch information
iSplasher committed Jan 4, 2024
1 parent d7add9c commit fcd7098
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fcd7098

Please sign in to comment.