Skip to content

Commit 47f2617

Browse files
committed
Use other compression method for ripunzip
1 parent 295744e commit 47f2617

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

.github/workflows/build-ripunzip.yml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -93,21 +93,14 @@ jobs:
9393
lipo -create -output ripunzip-macos \
9494
-arch x86_64 target/x86_64-apple-darwin/release/ripunzip \
9595
-arch arm64 target/aarch64-apple-darwin/release/ripunzip
96-
- name: Archive (POSIX)
97-
if: runner.os != 'Windows'
98-
shell: bash
99-
run: |
100-
zip -j ripunzip-${{ runner.os }}.zip ripunzip-*
101-
- name: Archive (Windows)
102-
if: runner.os == 'Windows'
103-
shell: powershell
96+
- name: Archive
10497
run: |
105-
Compress-Archive -Path ripunzip-* -DestinationPath ripunzip-${{ runner.os }}.zip -Force
98+
tar acf ripunzip-${{ runner.os }}.tar.zst ripunzip-*
10699
- name: Upload built binary
107100
uses: actions/upload-artifact@v4
108101
with:
109102
name: ripunzip-${{ runner.os }}
110-
path: ripunzip-${{ runner.os }}.zip
103+
path: ripunzip-${{ runner.os }}.tar.zst
111104
retention-days: 5
112105
compression: 0
113106
- name: Check built binary

0 commit comments

Comments
 (0)