From ccd9c1a7aa9d4a5a9a2457079d8b8ef5e35643dd Mon Sep 17 00:00:00 2001 From: GoldenKiwi Date: Tue, 2 May 2023 15:24:32 +0200 Subject: [PATCH] fix: force xz compression during .deb build (#180) zst compression is only available on Debian 12, since the release is built on Ubuntu latest, this was breaking release. Fixes #175 --- .github/workflows/pre-release.yml | 2 +- .github/workflows/tagged-release.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pre-release.yml b/.github/workflows/pre-release.yml index de1d799..7f6f01c 100644 --- a/.github/workflows/pre-release.yml +++ b/.github/workflows/pre-release.yml @@ -17,7 +17,7 @@ jobs: run: | sudo apt-get update sudo apt-get install -y build-essential devscripts debhelper - sudo debuild --buildinfo-option=-O -us -uc -b -j8 + sudo debuild --buildinfo-option=-O -us -uc -b -j8 --compression=xz find ../ -name "*.deb" -exec mv {} cis-hardening.deb \; # DELETE THE TAG NAMED LATEST AND THE CORRESPONDING RELEASE - name: Delete the tag latest and the release latest diff --git a/.github/workflows/tagged-release.yml b/.github/workflows/tagged-release.yml index 28eb317..d2c5b4d 100644 --- a/.github/workflows/tagged-release.yml +++ b/.github/workflows/tagged-release.yml @@ -29,7 +29,7 @@ jobs: run: | sudo apt-get update sudo apt-get install -y build-essential devscripts debhelper - sudo debuild --buildinfo-option=-O -us -uc -b -j8 + sudo debuild --buildinfo-option=-O -us -uc -b -j8 --compression=xz find ../ -name "*.deb" -exec mv {} cis-hardening.deb \; # DELETE THE TAG NAMED LATEST AND THE CORRESPONDING RELEASE - name: Delete the tag latest and the release latest