From 7ce3a413e40c176d4160774071ceca16f4664871 Mon Sep 17 00:00:00 2001 From: Sebastian Ullrich Date: Sat, 20 Aug 2022 18:03:58 +0200 Subject: [PATCH] fix: CI: create portable tarballs --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 58c6f04bdc..d1e9c6a575 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -178,10 +178,10 @@ jobs: mkdir pack # high-compression tar.zst + zip for release, fast tar.zst otherwise if [[ '${{ startsWith(github.ref, 'refs/tags/v') && matrix.release }}' == true || -n '${{ needs.set-nightly.outputs.nightly }}' ]]; then - tar cf - $dir | zstd -T0 --no-progress -19 -o pack/$dir.tar.zst + tar --format=v7 -cf - $dir | zstd -T0 --no-progress -19 -o pack/$dir.tar.zst zip -rq pack/$dir.zip $dir else - tar cf - $dir | zstd -T0 --no-progress -o pack/$dir.tar.zst + tar --format=v7 -cf - $dir | zstd -T0 --no-progress -o pack/$dir.tar.zst fi - uses: actions/upload-artifact@v2 if: matrix.release