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 <noreply@anthropic.com>
This commit is contained in:
Snider 2026-02-03 05:17:48 +00:00 committed by GitHub
parent 255705874c
commit 46c094242e

View file

@ -65,11 +65,11 @@ jobs:
- name: Create archive (Windows) - name: Create archive (Windows)
if: matrix.goos == 'windows' if: matrix.goos == 'windows'
shell: bash shell: pwsh
run: | run: |
cd dist cd dist
zip core-${{ matrix.goos }}-${{ matrix.goarch }}.zip core.exe Compress-Archive -Path core.exe -DestinationPath core-${{ matrix.goos }}-${{ matrix.goarch }}.zip
rm core.exe Remove-Item core.exe
- name: Upload artifact - name: Upload artifact
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4