Skip to content

Commit 097b2ca

Browse files
committed
fix: Install zip command on Windows runners via Chocolatey
1 parent c936b17 commit 097b2ca

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/release.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,11 @@ jobs:
4444
- name: Build (release)
4545
run: cargo build --locked --release --all-targets
4646

47+
- name: Install zip (Windows)
48+
if: matrix.os == 'windows-latest'
49+
shell: pwsh # Use PowerShell because choco is only available in PowerShell PATH
50+
run: choco install zip -y # Windows runners don't have zip by default, install via Chocolatey
51+
4752
- name: Package binary
4853
shell: bash
4954
run: |

0 commit comments

Comments
 (0)