Skip to content

Commit 07494fd

Browse files
committed
fix windows compressing
1 parent 76d621f commit 07494fd

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/deployment.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,17 @@ jobs:
4545
- name: Build
4646
run: cargo build --features self_update --release
4747

48-
- name: Compress Output
48+
- name: Compress Output (Linux & macOS)
49+
if: contains(matrix.os, 'ubuntu') || contains(matrix.os, 'macos')
4950
run: |
5051
cd target/release
5152
zip -r serial-monitor-${{ matrix.target }}.zip *
5253
54+
- name: Compress Output (Windows)
55+
if: contains(matrix.os, 'windows')
56+
run: |
57+
Compress-Archive -Path target/release/* -DestinationPath serial-monitor-${{ matrix.target }}.zip
58+
5359
- name: Upload Artifact
5460
uses: actions/[email protected]
5561
env:

0 commit comments

Comments
 (0)