fix(release): use PowerShell for Windows zip (#276)
Some checks failed
Release / build (, amd64, linux, ubuntu-latest) (push) Failing after 1m50s
Release / build (, arm64, linux, ubuntu-latest) (push) Failing after 2m1s
Release / build (.exe, amd64, windows, windows-latest) (push) Has been cancelled
Release / release (push) Has been cancelled
Release / build (, amd64, darwin, macos-latest) (push) Has been cancelled
Release / build (, arm64, darwin, macos-latest) (push) Has been cancelled
Some checks failed
Release / build (, amd64, linux, ubuntu-latest) (push) Failing after 1m50s
Release / build (, arm64, linux, ubuntu-latest) (push) Failing after 2m1s
Release / build (.exe, amd64, windows, windows-latest) (push) Has been cancelled
Release / release (push) Has been cancelled
Release / build (, amd64, darwin, macos-latest) (push) Has been cancelled
Release / build (, arm64, darwin, macos-latest) (push) Has been cancelled
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:
parent
5dd211562c
commit
2ec4d300ee
1 changed files with 3 additions and 3 deletions
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue