diff --git a/.github/workflows/CICD.yml b/.github/workflows/CICD.yml index dbf50bbc2..407e1db6b 100644 --- a/.github/workflows/CICD.yml +++ b/.github/workflows/CICD.yml @@ -256,6 +256,16 @@ jobs: ## cat "${DPKG_DIR}/DEBIAN/control" # build dpkg fakeroot dpkg-deb --build "${DPKG_DIR}" "${{ steps.vars.outputs.STAGING }}/${{ steps.vars.outputs.DPKG_NAME }}" + # build a deb not using zst + # check https://github.com/lsd-rs/lsd/issues/891 + ar x "${{ steps.vars.outputs.STAGING }}/${{ steps.vars.outputs.DPKG_NAME }}" + # Uncompress zstd files an re-compress them using xz + zstd -d < control.tar.zst | xz > control.tar.xz + zstd -d < data.tar.zst | xz > data.tar.xz + # Re-create the Debian package in /tmp/ + ar -m -c -a sdsd $(echo ${{ steps.vars.outputs.DPKG_NAME }} | sed 's/.deb/_legacy.deb/g') debian-binary control.tar.xz data.tar.xz + # Clean up + rm debian-binary control.tar.xz data.tar.xz control.tar.zst data.tar.zst fi - name: Publish uses: softprops/action-gh-release@v1