From ca2e46a8a642a887a89757ae71837c4f0bd08646 Mon Sep 17 00:00:00 2001 From: Stefan Koelle Date: Mon, 10 Aug 2026 20:31:52 +0200 Subject: [PATCH] fix: zip from publish/ subfolder to avoid duplicate files --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 61c32f9..db04117 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -47,12 +47,12 @@ jobs: if: matrix.os == 'windows-latest' shell: pwsh run: | - Compress-Archive -Path "MarcerGameDvdLauncher/bin/Release/net10.0/${{ matrix.rid }}/*" -DestinationPath "MarcerGameDvdLauncher-v${{ steps.version.outputs.version }}-${{ matrix.artifact_name }}.zip" + Compress-Archive -Path "MarcerGameDvdLauncher/bin/Release/net10.0/${{ matrix.rid }}/publish/*" -DestinationPath "MarcerGameDvdLauncher-v${{ steps.version.outputs.version }}-${{ matrix.artifact_name }}.zip" - name: Create ZIP (Linux/macOS) if: matrix.os != 'windows-latest' run: | - cd MarcerGameDvdLauncher/bin/Release/net10.0/${{ matrix.rid }} + cd MarcerGameDvdLauncher/bin/Release/net10.0/${{ matrix.rid }}/publish zip -r ../../../MarcerGameDvdLauncher-v${{ steps.version.outputs.version }}-${{ matrix.artifact_name }}.zip . - name: Upload artifact