Use other compression method for ripunzip

This commit is contained in:
Paolo Tranquilli
2025-11-11 12:07:19 +01:00
parent 295744eb36
commit 47f2617b4d

View File

@@ -93,21 +93,14 @@ jobs:
lipo -create -output ripunzip-macos \ lipo -create -output ripunzip-macos \
-arch x86_64 target/x86_64-apple-darwin/release/ripunzip \ -arch x86_64 target/x86_64-apple-darwin/release/ripunzip \
-arch arm64 target/aarch64-apple-darwin/release/ripunzip -arch arm64 target/aarch64-apple-darwin/release/ripunzip
- name: Archive (POSIX) - name: Archive
if: runner.os != 'Windows'
shell: bash
run: | run: |
zip -j ripunzip-${{ runner.os }}.zip ripunzip-* tar acf ripunzip-${{ runner.os }}.tar.zst ripunzip-*
- name: Archive (Windows)
if: runner.os == 'Windows'
shell: powershell
run: |
Compress-Archive -Path ripunzip-* -DestinationPath ripunzip-${{ runner.os }}.zip -Force
- name: Upload built binary - name: Upload built binary
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: ripunzip-${{ runner.os }} name: ripunzip-${{ runner.os }}
path: ripunzip-${{ runner.os }}.zip path: ripunzip-${{ runner.os }}.tar.zst
retention-days: 5 retention-days: 5
compression: 0 compression: 0
- name: Check built binary - name: Check built binary