From 46c094242ea7a5259e364fb66a882053a03212b9 Mon Sep 17 00:00:00 2001 From: Snider Date: Tue, 3 Feb 2026 05:17:48 +0000 Subject: [PATCH] fix(release): use PowerShell for Windows zip (#276) Git Bash doesn't have zip command. Use PowerShell's Compress-Archive. Co-authored-by: Claude Opus 4.5 --- .github/workflows/release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5cfa3777..78228c6f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -65,11 +65,11 @@ jobs: - name: Create archive (Windows) if: matrix.goos == 'windows' - shell: bash + shell: pwsh run: | cd dist - zip core-${{ matrix.goos }}-${{ matrix.goarch }}.zip core.exe - rm core.exe + Compress-Archive -Path core.exe -DestinationPath core-${{ matrix.goos }}-${{ matrix.goarch }}.zip + Remove-Item core.exe - name: Upload artifact uses: actions/upload-artifact@v4