From 1764e784dca30e080b8afe06b27e4addd1613c5b Mon Sep 17 00:00:00 2001 From: StyxX65 <150797939+StyxX65@users.noreply.github.com> Date: Sat, 11 Apr 2026 10:22:14 +0200 Subject: [PATCH] =?UTF-8?q?CI:=20fix=20Windows=20artifact=20=E2=80=94=20zi?= =?UTF-8?q?p=20onedir=20output=20instead=20of=20globbing=20dist/*.exe?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PyInstaller --onedir puts the exe inside dist/GDPRScanner/, so dist/*.exe never matched. Add a PowerShell packaging step that zips the directory, mirroring the Linux step. Co-Authored-By: Claude Sonnet 4.6 --- .github/workflows/build.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d29d7db..237a088 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -78,14 +78,20 @@ jobs: cd dist zip -r "GDPRScanner_linux_x86_64.zip" "GDPRScanner" + - name: Package Windows binary + if: runner.os == 'Windows' + shell: pwsh + run: | + Compress-Archive -Path dist\GDPRScanner -DestinationPath dist\GDPRScanner_windows_x64.zip + - name: Upload artifact uses: actions/upload-artifact@v4 with: name: M365Scanner-${{ matrix.name }} retention-days: 30 path: | - dist/*.exe dist/GDPRScanner_linux_x86_64.zip + dist/GDPRScanner_windows_x64.zip # ── Release ─────────────────────────────────────────────────────────────── # • version tag (v*) → proper versioned release with generated notes