mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
Use other compression method for ripunzip
This commit is contained in:
13
.github/workflows/build-ripunzip.yml
vendored
13
.github/workflows/build-ripunzip.yml
vendored
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user